2020-09-02 02:40:56 -05:00
error[E0277]: the trait bound `&'a T: Unsize<&'a U>` is not satisfied
2020-05-14 05:37:58 -05:00
--> $DIR/issue-71036.rs:11:1
|
LL | impl<'a, T: ?Sized + Unsize<U>, U: ?Sized> DispatchFromDyn<Foo<'a, U>> for Foo<'a, T> {}
2022-02-13 09:27:59 -06:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Unsize<&'a U>` is not implemented for `&'a T`
2020-05-14 05:37:58 -05:00
|
= note: all implementations of `Unsize` are provided automatically by the compiler, see <https://doc.rust-lang.org/stable/std/marker/trait.Unsize.html> for more information
2022-08-15 15:31:37 -05:00
= note: required for `&'a &'a T` to implement `DispatchFromDyn<&'a &'a U>`
2020-05-14 05:37:58 -05:00
2023-11-21 09:44:16 -06:00
error: aborting due to 1 previous error
2020-05-14 05:37:58 -05:00
For more information about this error, try `rustc --explain E0277`.