Uh oh!
There was an error while loading. Please reload this page.
Add suggest alternatives for Out-of-range \x escapes - #149201
Conversation
scottmcm
commented
Nov 22, 2025
The two-notes approach looks reasonable to me in the same error, but I really don't know anything about this part of the compiler so I'm going to reroll, sorry. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
fd040b7 to
02bc55aCompareKivooeo
commented
Nov 23, 2025
I'm not 100% sure about note here, it feels to me that help would be better, because we are trying to help user to fix their incorrect code but I can be wrong about when to use each so correct me here |
02bc55a to
0f695f7Comparechenyukang
commented
Nov 23, 2025
I'm neutral for |
Uh oh!
There was an error while loading. Please reload this page.
0f695f7 to
9661d39Compare9661d39 to
4d4f315CompareKivooeo
commented
Nov 24, 2025
r=me when ci green |
chenyukang
commented
Nov 24, 2025
@bors r=Kivooeo |
bors
commented
Nov 24, 2025
Rollup of 6 pull requests Successful merges: - #148234 (rustdoc: make mergeable crate info more usable) - #149201 (Add suggest alternatives for Out-of-range \x escapes) - #149208 ([rustdoc] Make more functions return `fmt::Result` and reduce number of `.unwrap()` calls) - #149252 (miri: use `tikv-jemalloc-sys` from sysroot) - #149255 (Use `let...else` consistently in user-facing diagnostics) - #149275 (Fix missing double-quote in `std::env::consts::OS` values) r? `@ghost` `@rustbot` modify labels: rollup
Uh oh!
There was an error while loading. Please reload this page.
Rollup of 6 pull requests Successful merges: - rust-lang/rust#148234 (rustdoc: make mergeable crate info more usable) - rust-lang/rust#149201 (Add suggest alternatives for Out-of-range \x escapes) - rust-lang/rust#149208 ([rustdoc] Make more functions return `fmt::Result` and reduce number of `.unwrap()` calls) - rust-lang/rust#149252 (miri: use `tikv-jemalloc-sys` from sysroot) - rust-lang/rust#149255 (Use `let...else` consistently in user-facing diagnostics) - rust-lang/rust#149275 (Fix missing double-quote in `std::env::consts::OS` values) r? `@ghost` `@rustbot` modify labels: rollup
Rollup of 6 pull requests Successful merges: - rust-lang/rust#148234 (rustdoc: make mergeable crate info more usable) - rust-lang/rust#149201 (Add suggest alternatives for Out-of-range \x escapes) - rust-lang/rust#149208 ([rustdoc] Make more functions return `fmt::Result` and reduce number of `.unwrap()` calls) - rust-lang/rust#149252 (miri: use `tikv-jemalloc-sys` from sysroot) - rust-lang/rust#149255 (Use `let...else` consistently in user-facing diagnostics) - rust-lang/rust#149275 (Fix missing double-quote in `std::env::consts::OS` values) r? `@ghost` `@rustbot` modify labels: rollup
Fixes#148917
seems add two notes seems better.
r? @scottmcm