]> git.proxmox.com Git - rustc.git/blame - 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
CommitLineData
5869c6ff
XL
1error: no rules expected the token `[`
2 --> $DIR/unsupported.rs:3:1
3 |
43 | / pin_project! {
54 | | struct Struct1 {} //~ ERROR no rules expected the token `}`
65 | | }
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
11error: no rules expected the token `[`
12 --> $DIR/unsupported.rs:7:1
13 |
147 | / pin_project! {
158 | | struct Struct2(); //~ ERROR no rules expected the token `(`
169 | | }
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
21error: no rules expected the token `[`
22 --> $DIR/unsupported.rs:11:1
23 |
2411 | / pin_project! {
2512 | | struct Struct3; //~ ERROR no rules expected the token `;`
2613 | | }
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
31error: no rules expected the token `[`
32 --> $DIR/unsupported.rs:15:1
33 |
3415 | / pin_project! {
3516 | | enum Enum { //~ ERROR no rules expected the token `enum`
3617 | | A(u8)
3718 | | }
3819 | | }
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
43error: no rules expected the token `[`
44 --> $DIR/unsupported.rs:21:1
45 |
4621 | / pin_project! {
4722 | | union Union { //~ ERROR no rules expected the token `union`
4823 | | x: u8,
4924 | | }
5025 | | }
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)