1error: expected attribute arguments in parentheses: `pin(...)`
2 --> tests/ui/pin_project/add-attr-to-struct.rs:7:1
3  |
47 | #[add_pin_attr(struct)] //~ ERROR expected attribute arguments in parentheses
5  | ^^^^^^^^^^^^^^^^^^^^^^^
6  |
7  = note: this error originates in the attribute macro `add_pin_attr` (in Nightly builds, run with -Z macro-backtrace for more info)
8
9error: #[pin] attribute may only be used on fields of structs or variants
10  --> tests/ui/pin_project/add-attr-to-struct.rs:13:1
11   |
1213 | #[add_pin_attr(struct)] //~ ERROR #[pin] attribute may only be used on fields of structs or variants
13   | ^^^^^^^^^^^^^^^^^^^^^^^
14   |
15   = note: this error originates in the attribute macro `add_pin_attr` (in Nightly builds, run with -Z macro-backtrace for more info)
16