Debian Codegraph @

third_party/rust/pin-project-lite/tests/ui/pin_project/invalid.stderr

raw
1 error: no rules expected the token `(`
2 --> tests/ui/pin_project/invalid.rs:7:14
3 |
4 7 | #[pin()] //~ ERROR no rules expected the token `(`
5 | ^ no rules expected this token in macro call
6 |
7 note: while trying to match `]`
8 --> src/lib.rs
9 |
10 | $(#[$pin:ident])?
11 | ^
12
13 error: no rules expected the token `(`
14 --> tests/ui/pin_project/invalid.rs:7:14
15 |
16 7 | #[pin()] //~ ERROR no rules expected the token `(`
17 | ^ no rules expected this token in macro call
18 |
19 note: while trying to match `]`
20 --> src/lib.rs
21 |
22 | $(#[$pin:ident])?
23 | ^
24
25 error: no rules expected the token `#`
26 --> tests/ui/pin_project/invalid.rs:22:9
27 |
28 22 | #[pin] //~ ERROR no rules expected the token `#`
29 | ^ no rules expected this token in macro call
30 |
31 note: while trying to match meta-variable `$field_vis:vis`
32 --> src/lib.rs
33 |
34 | $field_vis:vis $field:ident: $field_ty:ty
35 | ^^^^^^^^^^^^^^
36
37 error: no rules expected the token `#`
38 --> tests/ui/pin_project/invalid.rs:22:9
39 |
40 22 | #[pin] //~ ERROR no rules expected the token `#`
41 | ^ no rules expected this token in macro call
42 |
43 note: while trying to match meta-variable `$field_vis:vis`
44 --> src/lib.rs
45 |
46 | $field_vis:vis $field:ident: $field_ty:ty
47 | ^^^^^^^^^^^^^^
48
49 error: cannot find attribute `pin` in this scope
50 --> tests/ui/pin_project/invalid.rs:13:7
51 |
52 13 | #[pin] //~ ERROR cannot find attribute `pin` in this scope
53 | ^^^