]> git.proxmox.com Git - rustc.git/blob - vendor/pin-project-lite/tests/ui/unsupported.stderr
New upstream version 1.51.0+dfsg1
[rustc.git] / vendor / pin-project-lite / tests / ui / unsupported.stderr
1 error: no rules expected the token `[`
2 --> $DIR/unsupported.rs:3:1
3 |
4 3 | / pin_project! {
5 4 | | struct Struct1 {} //~ ERROR no rules expected the token `}`
6 5 | | }
7 | |_^ no rules expected this token in macro call
8 |
9 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
10
11 error: no rules expected the token `[`
12 --> $DIR/unsupported.rs:7:1
13 |
14 7 | / pin_project! {
15 8 | | struct Struct2(); //~ ERROR no rules expected the token `(`
16 9 | | }
17 | |_^ no rules expected this token in macro call
18 |
19 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
20
21 error: no rules expected the token `[`
22 --> $DIR/unsupported.rs:11:1
23 |
24 11 | / pin_project! {
25 12 | | struct Struct3; //~ ERROR no rules expected the token `;`
26 13 | | }
27 | |_^ no rules expected this token in macro call
28 |
29 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
30
31 error: no rules expected the token `[`
32 --> $DIR/unsupported.rs:15:1
33 |
34 15 | / pin_project! {
35 16 | | enum Enum { //~ ERROR no rules expected the token `enum`
36 17 | | A(u8)
37 18 | | }
38 19 | | }
39 | |_^ no rules expected this token in macro call
40 |
41 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
42
43 error: no rules expected the token `[`
44 --> $DIR/unsupported.rs:21:1
45 |
46 21 | / pin_project! {
47 22 | | union Union { //~ ERROR no rules expected the token `union`
48 23 | | x: u8,
49 24 | | }
50 25 | | }
51 | |_^ no rules expected this token in macro call
52 |
53 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)