]> git.proxmox.com Git - rustc.git/blame - tests/ui/impl-trait/in-trait/issue-102571.current.stderr
New upstream version 1.72.1+dfsg1
[rustc.git] / tests / ui / impl-trait / in-trait / issue-102571.current.stderr
CommitLineData
2b03887a 1error[E0308]: mismatched types
353b0b11 2 --> $DIR/issue-102571.rs:23:9
2b03887a
FG
3 |
4LL | let () = t.bar();
5 | ^^ ------- this expression has type `impl Deref<Target = impl std::fmt::Display + ?Sized>`
6 | |
7 | expected associated type, found `()`
8 |
9 = note: expected associated type `impl Deref<Target = impl std::fmt::Display + ?Sized>`
10 found unit type `()`
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0308`.