mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-03 01:25:15 +00:00
Replace most of the `.span_suggestion(` in `rustc_parse` with `.span_suggestion_verbose(`, as they are more readabale, if more verbose. Verbose suggestions also tend to highlight off-by-one `Span` errors better.
16 lines
423 B
Plaintext
16 lines
423 B
Plaintext
error[E0748]: unterminated raw string
|
|
--> $DIR/raw-string.rs:2:13
|
|
|
|
|
LL | let x = r##"lol"#;
|
|
| ^ unterminated raw string
|
|
|
|
|
= note: this raw string should be terminated with `"##`
|
|
help: consider terminating the string here
|
|
|
|
|
LL | let x = r##"lol"##;
|
|
| +
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0748`.
|