]>
Commit | Line | Data |
---|---|---|
2b03887a FG |
1 | error[E0308]: mismatched types |
2 | --> $DIR/issue-102571.rs:20:9 | |
3 | | | |
4 | LL | 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 | ||
12 | error: aborting due to previous error | |
13 | ||
14 | For more information about this error, try `rustc --explain E0308`. |