aboutsummaryrefslogtreecommitdiff
path: root/tests/ui/invalid-ident.stderr
blob: 28593fb1a6f1a735437a53b0d855dd086ccef429 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
error: expected identifier, found `0f`
 --> tests/ui/invalid-ident.rs:3:1
  |
3 | / paste! {
4 | |     fn [<0 f>]() {}
5 | | }
  | |_^ expected identifier
  |
  = 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 "'">]() {}
   |        ^^^^^^^^^