1
0
Fork 0
firefox/third_party/rust/thiserror/tests/ui/raw-identifier.stderr
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

21 lines
851 B
Text

error: invalid format string: raw identifiers are not supported
--> tests/ui/raw-identifier.rs:4:18
|
4 | #[error("error: {r#fn}")]
| --^^
| |
| raw identifier used here in format string
| help: remove the `r#`
|
= note: identifiers in format strings can be keywords and don't need to be prefixed with `r#`
error: invalid format string: raw identifiers are not supported
--> tests/ui/raw-identifier.rs:11:30
|
11 | let _ = format!("error: {r#fn}");
| --^^
| |
| raw identifier used here in format string
| help: remove the `r#`
|
= note: identifiers in format strings can be keywords and don't need to be prefixed with `r#`