Debian Codegraph @

third_party/rust/pin-project/tests/ui/pin_project/packed_sneaky-2.stderr

raw
1 error: #[pin_project] attribute may not be used on #[repr(packed)] types
2 --> tests/ui/pin_project/packed_sneaky-2.rs:4:1
3 |
4 4 | / hidden_repr_macro! { //~ ERROR may not be used on #[repr(packed)] types
5 5 | | #[pin_project]
6 6 | | struct B {
7 7 | | #[pin]
8 8 | | f: u32,
9 9 | | }
10 10 | | }
11 | |_^
12 |
13 = note: this error originates in the macro `hidden_repr_macro` (in Nightly builds, run with -Z macro-backtrace for more info)