2020-09-02 02:40:56 -05:00
|
|
|
error[E0271]: type mismatch resolving `<Rc<Apple> as Deref>::Target == Rc<Apple>`
|
2019-12-05 06:21:51 -06:00
|
|
|
--> $DIR/issue-67039-unsound-pin-partialeq.rs:25:29
|
|
|
|
|
|
|
|
|
LL | let _ = Pin::new(Apple) == Rc::pin(Apple);
|
2020-09-02 02:40:56 -05:00
|
|
|
| ^^ expected struct `Apple`, found struct `Rc`
|
2019-12-05 06:21:51 -06:00
|
|
|
|
|
2021-05-03 08:25:32 -05:00
|
|
|
= note: expected struct `Apple`
|
|
|
|
found struct `Rc<Apple>`
|
2022-08-15 15:31:37 -05:00
|
|
|
= note: required for `Pin<Apple>` to implement `PartialEq<Pin<Rc<Apple>>>`
|
2019-12-05 06:21:51 -06:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0271`.
|