Vendor things
This commit is contained in:
parent
5deceec006
commit
977e3c17e5
19434 changed files with 10682014 additions and 0 deletions
53
third-party/vendor/pin-project-lite/tests/ui/pin_project/invalid.stderr
vendored
Normal file
53
third-party/vendor/pin-project-lite/tests/ui/pin_project/invalid.stderr
vendored
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
error: no rules expected the token `(`
|
||||
--> tests/ui/pin_project/invalid.rs:5:14
|
||||
|
|
||||
5 | #[pin()] //~ ERROR no rules expected the token `(`
|
||||
| ^ no rules expected this token in macro call
|
||||
|
|
||||
note: while trying to match `]`
|
||||
--> src/lib.rs
|
||||
|
|
||||
| $(#[$pin:ident])?
|
||||
| ^
|
||||
|
||||
error: no rules expected the token `(`
|
||||
--> tests/ui/pin_project/invalid.rs:5:14
|
||||
|
|
||||
5 | #[pin()] //~ ERROR no rules expected the token `(`
|
||||
| ^ no rules expected this token in macro call
|
||||
|
|
||||
note: while trying to match `]`
|
||||
--> src/lib.rs
|
||||
|
|
||||
| $(#[$pin:ident])?
|
||||
| ^
|
||||
|
||||
error: no rules expected the token `#`
|
||||
--> tests/ui/pin_project/invalid.rs:20:9
|
||||
|
|
||||
20 | #[pin] //~ ERROR no rules expected the token `#`
|
||||
| ^ no rules expected this token in macro call
|
||||
|
|
||||
note: while trying to match meta-variable `$field_vis:vis`
|
||||
--> src/lib.rs
|
||||
|
|
||||
| $field_vis:vis $field:ident: $field_ty:ty
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
||||
error: no rules expected the token `#`
|
||||
--> tests/ui/pin_project/invalid.rs:20:9
|
||||
|
|
||||
20 | #[pin] //~ ERROR no rules expected the token `#`
|
||||
| ^ no rules expected this token in macro call
|
||||
|
|
||||
note: while trying to match meta-variable `$field_vis:vis`
|
||||
--> src/lib.rs
|
||||
|
|
||||
| $field_vis:vis $field:ident: $field_ty:ty
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
||||
error: cannot find attribute `pin` in this scope
|
||||
--> tests/ui/pin_project/invalid.rs:11:7
|
||||
|
|
||||
11 | #[pin] //~ ERROR cannot find attribute `pin` in this scope
|
||||
| ^^^
|
||||
Loading…
Add table
Add a link
Reference in a new issue