Debian Codegraph @

debian/missing-sources/pin-project-lite/tests/ui/pin_project/unsupported.stderr

raw
1 error: no rules expected `}`
2 --> tests/ui/pin_project/unsupported.rs:5:1
3 |
4 5 | / pin_project! {
5 6 | | struct Struct1 {} //~ ERROR no rules expected the token `}`
6 7 | | }
7 | |_^ no rules expected this token in macro call
8 |
9 note: while trying to match meta-variable `$field_vis:vis`
10 --> src/lib.rs
11 |
12 | $field_vis:vis $field:ident: $field_ty:ty
13 | ^^^^^^^^^^^^^^
14 = note: this error originates in the macro `$crate::__pin_project_expand` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info)
15
16 error: no rules expected `}`
17 --> tests/ui/pin_project/unsupported.rs:5:1
18 |
19 5 | / pin_project! {
20 6 | | struct Struct1 {} //~ ERROR no rules expected the token `}`
21 7 | | }
22 | |_^ no rules expected this token in macro call
23 |
24 note: while trying to match meta-variable `$field_vis:vis`
25 --> src/lib.rs
26 |
27 | $field_vis:vis $field:ident: $field_ty:ty
28 | ^^^^^^^^^^^^^^
29 = note: this error originates in the macro `$crate::__pin_project_expand` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info)
30
31 error: no rules expected `(`
32 --> tests/ui/pin_project/unsupported.rs:10:19
33 |
34 10 | struct Struct2(); //~ ERROR no rules expected the token `(`
35 | ^ no rules expected this token in macro call
36 |
37 note: while trying to match `{`
38 --> src/lib.rs
39 |
40 | {
41 | ^
42
43 error: no rules expected `;`
44 --> tests/ui/pin_project/unsupported.rs:14:19
45 |
46 14 | struct Struct3; //~ ERROR no rules expected the token `;`
47 | ^ no rules expected this token in macro call
48 |
49 note: while trying to match `{`
50 --> src/lib.rs
51 |
52 | {
53 | ^
54
55 error: no rules expected `(`
56 --> tests/ui/pin_project/unsupported.rs:19:10
57 |
58 19 | A(u8)
59 | ^ no rules expected this token in macro call
60 |
61 note: while trying to match `}`
62 --> src/lib.rs
63 |
64 | }
65 | ^
66
67 error: no rules expected `(`
68 --> tests/ui/pin_project/unsupported.rs:19:10
69 |
70 19 | A(u8)
71 | ^ no rules expected this token in macro call
72 |
73 note: while trying to match `}`
74 --> src/lib.rs
75 |
76 | }
77 | ^
78
79 error: no rules expected identifier `union`
80 --> tests/ui/pin_project/unsupported.rs:23:1
81 |
82 23 | / pin_project! {
83 24 | | union Union { //~ ERROR no rules expected the token `union`
84 25 | | x: u8,
85 26 | | }
86 27 | | }
87 | |_^ no rules expected this token in macro call
88 |
89 note: while trying to match keyword `struct`
90 --> src/lib.rs
91 |
92 | [$(#[$attrs:meta])* $vis:vis struct $ident:ident]
93 | ^^^^^^
94 = note: this error originates in the macro `$crate::__pin_project_expand` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info)
95
96 error: no rules expected identifier `union`
97 --> tests/ui/pin_project/unsupported.rs:23:1
98 |
99 23 | / pin_project! {
100 24 | | union Union { //~ ERROR no rules expected the token `union`
101 25 | | x: u8,
102 26 | | }
103 27 | | }
104 | |_^ no rules expected this token in macro call
105 |
106 note: while trying to match keyword `struct`
107 --> src/lib.rs
108 |
109 | [$(#[$attrs:meta])* $vis:vis struct $ident:ident]
110 | ^^^^^^
111 = note: this error originates in the macro `$crate::__pin_project_expand` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info)