2023-06-24 03:00:08 +00:00
|
|
|
error[E0308]: mismatched types
|
2023-10-24 15:27:02 +00:00
|
|
|
--> $DIR/issue-102571.rs:9:9
|
2023-06-24 03:00:08 +00:00
|
|
|
|
|
|
|
|
LL | let () = t.bar();
|
|
|
|
| ^^ ------- this expression has type `impl Deref<Target = impl std::fmt::Display + ?Sized>`
|
|
|
|
| |
|
|
|
|
| expected associated type, found `()`
|
|
|
|
|
|
|
|
|
= note: expected associated type `impl Deref<Target = impl std::fmt::Display + ?Sized>`
|
|
|
|
found unit type `()`
|
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2023-06-24 03:00:08 +00:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0308`.
|