• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1error: no rules expected the token `}`
2 --> tests/ui/pin_project/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 the macro `$crate::__pin_project_expand` (in Nightly builds, run with -Z macro-backtrace for more info)
10
11error: no rules expected the token `}`
12 --> tests/ui/pin_project/unsupported.rs:3:1
13  |
143 | / pin_project! {
154 | |     struct Struct1 {} //~ ERROR no rules expected the token `}`
165 | | }
17  | |_^ no rules expected this token in macro call
18  |
19  = note: this error originates in the macro `$crate::__pin_project_expand` (in Nightly builds, run with -Z macro-backtrace for more info)
20
21error: no rules expected the token `(`
22 --> tests/ui/pin_project/unsupported.rs:8:19
23  |
248 |     struct Struct2(); //~ ERROR no rules expected the token `(`
25  |                   ^ no rules expected this token in macro call
26
27error: no rules expected the token `;`
28  --> tests/ui/pin_project/unsupported.rs:12:19
29   |
3012 |     struct Struct3; //~ ERROR no rules expected the token `;`
31   |                   ^ no rules expected this token in macro call
32
33error: no rules expected the token `enum`
34  --> tests/ui/pin_project/unsupported.rs:15:1
35   |
3615 | / pin_project! {
3716 | |     enum Enum { //~ ERROR no rules expected the token `enum`
3817 | |         A(u8)
3918 | |     }
4019 | | }
41   | |_^ no rules expected this token in macro call
42   |
43   = note: this error originates in the macro `$crate::__pin_project_expand` (in Nightly builds, run with -Z macro-backtrace for more info)
44
45error: no rules expected the token `enum`
46  --> tests/ui/pin_project/unsupported.rs:15:1
47   |
4815 | / pin_project! {
4916 | |     enum Enum { //~ ERROR no rules expected the token `enum`
5017 | |         A(u8)
5118 | |     }
5219 | | }
53   | |_^ no rules expected this token in macro call
54   |
55   = note: this error originates in the macro `$crate::__pin_project_expand` (in Nightly builds, run with -Z macro-backtrace for more info)
56
57error: no rules expected the token `union`
58  --> tests/ui/pin_project/unsupported.rs:21:1
59   |
6021 | / pin_project! {
6122 | |     union Union { //~ ERROR no rules expected the token `union`
6223 | |         x: u8,
6324 | |     }
6425 | | }
65   | |_^ no rules expected this token in macro call
66   |
67   = note: this error originates in the macro `$crate::__pin_project_expand` (in Nightly builds, run with -Z macro-backtrace for more info)
68
69error: no rules expected the token `union`
70  --> tests/ui/pin_project/unsupported.rs:21:1
71   |
7221 | / pin_project! {
7322 | |     union Union { //~ ERROR no rules expected the token `union`
7423 | |         x: u8,
7524 | |     }
7625 | | }
77   | |_^ no rules expected this token in macro call
78   |
79   = note: this error originates in the macro `$crate::__pin_project_expand` (in Nightly builds, run with -Z macro-backtrace for more info)
80