error[E0277]: the trait bound `impl PinInit: Init` is not satisfied --> tests/ui/compile-fail/pin_data/missing_pin.rs:11:9 | 11 | / pin_init!(Self { 12 | | a <- a, | | - required by a bound introduced by this call 13 | | }) | |__________^ the trait `Init` is not implemented for `impl PinInit` | = help: the trait `Init` is not implemented for `impl PinInit` but trait `Init, _>` is implemented for it = help: for that trait implementation, expected `impl PinInit`, found `usize` note: required by a bound in `__ThePinData::a` --> tests/ui/compile-fail/pin_data/missing_pin.rs:4:1 | 4 | #[pin_data] | ^^^^^^^^^^^ required by this bound in `__ThePinData::a` 5 | struct Foo { 6 | a: usize, | - required by a bound in this associated function = note: this error originates in the macro `$crate::__pin_data` which comes from the expansion of the attribute macro `pin_data` (in Nightly builds, run with -Z macro-backtrace for more info)