error[E0271]: type mismatch resolving ` as Deref>::Target == Rc` --> $DIR/issue-67039-unsound-pin-partialeq.rs:25:29 | LL | let _ = Pin::new(Apple) == Rc::pin(Apple); | ^^ expected `Apple`, found `Rc` | = note: expected struct `Apple` found struct `Rc` = note: required for `Pin` to implement `PartialEq>>` error: aborting due to previous error For more information about this error, try `rustc --explain E0271`.