fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0308]: mismatched types 2 --> $DIR/issue-102571.rs:12:9 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`.