]> git.lizzy.rs Git - rust.git/blob - tests/ui/lint/issue-104392.stderr
Auto merge of #106884 - clubby789:fieldless-enum-debug, r=michaelwoerister
[rust.git] / tests / ui / lint / issue-104392.stderr
1 error: expected `{`, found `92`
2   --> $DIR/issue-104392.rs:2:14
3    |
4 LL |     { unsafe 92 }
5    |       ------ ^^ expected `{`
6    |       |
7    |       while parsing this `unsafe` expression
8    |
9 help: try placing this code inside a block
10    |
11 LL |     { unsafe { 92 } }
12    |              +    +
13
14 error: expected identifier, found `92`
15   --> $DIR/issue-104392.rs:6:11
16    |
17 LL |     { mod 92 }
18    |           ^^ expected identifier
19
20 error: expected identifier, found `92`
21   --> $DIR/issue-104392.rs:10:13
22    |
23 LL |     { trait 92 }
24    |             ^^ expected identifier
25
26 error: aborting due to 3 previous errors
27