1 error[E0308]: mismatched types
2 --> $DIR/issue-102571.rs:20:9
5 | ^^ ------- this expression has type `impl Deref<Target = impl std::fmt::Display + ?Sized>`
7 | expected associated type, found `()`
9 = note: expected associated type `impl Deref<Target = impl std::fmt::Display + ?Sized>`
12 error: aborting due to previous error
14 For more information about this error, try `rustc --explain E0308`.