| 1 |
error: invalid format string: raw identifiers are not supported |
| 2 |
--> tests/ui/raw-identifier.rs:4:18 |
| 3 |
| |
| 4 |
4 | #[error("error: {r#fn}")] |
| 5 |
| --^^ |
| 6 |
| | |
| 7 |
| raw identifier used here in format string |
| 8 |
| help: remove the `r#` |
| 9 |
| |
| 10 |
= note: identifiers in format strings can be keywords and don't need to be prefixed with `r#` |
| 11 |
|
| 12 |
error: invalid format string: raw identifiers are not supported |
| 13 |
--> tests/ui/raw-identifier.rs:11:30 |
| 14 |
| |
| 15 |
11 | let _ = format!("error: {r#fn}"); |
| 16 |
| --^^ |
| 17 |
| | |
| 18 |
| raw identifier used here in format string |
| 19 |
| help: remove the `r#` |
| 20 |
| |
| 21 |
= note: identifiers in format strings can be keywords and don't need to be prefixed with `r#` |