]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-67039-unsound-pin-partialeq.stderr
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / src / test / ui / issues / issue-67039-unsound-pin-partialeq.stderr
CommitLineData
1b1a35ee 1error[E0271]: type mismatch resolving `<Rc<Apple> as Deref>::Target == Rc<Apple>`
60c5eb7d
XL
2 --> $DIR/issue-67039-unsound-pin-partialeq.rs:25:29
3 |
4LL | let _ = Pin::new(Apple) == Rc::pin(Apple);
1b1a35ee 5 | ^^ expected struct `Apple`, found struct `Rc`
60c5eb7d 6 |
94222f64
XL
7 = note: expected struct `Apple`
8 found struct `Rc<Apple>`
1b1a35ee 9 = note: required because of the requirements on the impl of `PartialEq<Pin<Rc<Apple>>>` for `Pin<Apple>`
60c5eb7d
XL
10
11error: aborting due to previous error
12
13For more information about this error, try `rustc --explain E0271`.