]> git.proxmox.com Git - rustc.git/blame - src/test/ui/associated-types/higher-ranked-projection.bad.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / associated-types / higher-ranked-projection.bad.stderr
CommitLineData
f035d41b 1error[E0308]: mismatched types
923072b8 2 --> $DIR/higher-ranked-projection.rs:23:5
b7449926
XL
3 |
4LL | foo(());
923072b8 5 | ^^^^^^^ one type is more general than the other
f035d41b 6 |
94222f64 7 = note: expected reference `&'a ()`
04454e1e 8 found reference `&()`
5869c6ff 9note: the lifetime requirement is introduced here
923072b8 10 --> $DIR/higher-ranked-projection.rs:14:33
5869c6ff
XL
11 |
12LL | where for<'a> &'a T: Mirror<Image=U>
13 | ^^^^^^^
b7449926
XL
14
15error: aborting due to previous error
16
f035d41b 17For more information about this error, try `rustc --explain E0308`.