blob: ca1585e8cf227fb6afc0ca2ca167013c7937b8da [file] [log] [blame]
error: expected identifier, found `0f`
--> tests/ui/invalid-ident.rs:3:1
|
3 | / paste! {
4 | | fn [<0 f>]() {}
5 | | }
| |_^ expected identifier
|
help: identifiers cannot start with a number
--> tests/ui/invalid-ident.rs:3:1
|
3 | paste! {
| ^
= note: this error originates in the macro `paste` (in Nightly builds, run with -Z macro-backtrace for more info)
error: `"f\""` is not a valid identifier
--> tests/ui/invalid-ident.rs:8:8
|
8 | fn [<f '"'>]() {}
| ^^^^^^^^^
error: `"f'"` is not a valid identifier
--> tests/ui/invalid-ident.rs:12:8
|
12 | fn [<f "'">]() {}
| ^^^^^^^^^