forked from gentoo-utils/gentoo-utils
git-subtree-dir: subprojects/thiserror git-subtree-split: 247eab5d79e27ad28859afdf8bc600a4242829b7
22 lines
851 B
Plaintext
22 lines
851 B
Plaintext
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#`
|