error[E0271]: type mismatch resolving `<impl Deref<Target = impl Sized> as Deref>::Target == impl Sized`
--> <source>:4:17
|
4 | fn bar() -> impl Deref<Target = impl Sized> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ
|
note: required by a bound in `Foo::{synthetic#0}`
--> <source>:4:28
|
4 | fn bar() -> impl Deref<Target = impl Sized> {
| ^^^^^^^^^^^^^^^^^^^ required by this bound in `Foo::{synthetic#0}`