fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
530 B13 linesraw
1error[E0271]: type mismatch resolving `<Rc<Apple> as Deref>::Target == Rc<Apple>`
2  --> $DIR/issue-67039-unsound-pin-partialeq.rs:25:29
3   |
4LL |     let _ = Pin::new(Apple) == Rc::pin(Apple);
5   |                             ^^ expected `Apple`, found `Rc<Apple>`
6   |
7   = note: expected struct `Apple`
8              found struct `Rc<Apple>`
9   = note: required for `Pin<Apple>` to implement `PartialEq<Pin<Rc<Apple>>>`
10
11error: aborting due to previous error
12
13For more information about this error, try `rustc --explain E0271`.