fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
715 B12 linesraw
1error[E0277]: the trait bound `&'a T: Unsize<&'a U>` is not satisfied
2  --> $DIR/issue-71036.rs:11:1
3   |
4LL | impl<'a, T: ?Sized + Unsize<U>, U: ?Sized> DispatchFromDyn<Foo<'a, U>> for Foo<'a, T> {}
5   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Unsize<&'a U>` is not implemented for `&'a T`
6   |
7   = 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
8   = note: required for `&'a &'a T` to implement `DispatchFromDyn<&'a &'a U>`
9
10error: aborting due to previous error
11
12For more information about this error, try `rustc --explain E0277`.