fork/rust

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

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

master
701 B16 linesraw
1error[E0277]: the trait bound `A<X>: Trait<_, _, _>` is not satisfied
2  --> $DIR/incompleteness-unstable-result.rs:63:19
3   |
4LL |     impls_trait::<A<X>, _, _, _>();
5   |                   ^^^^ the trait `Trait<_, _, _>` is not implemented for `A<X>`
6   |
7   = help: the trait `Trait<U, V, D>` is implemented for `A<T>`
8note: required by a bound in `impls_trait`
9  --> $DIR/incompleteness-unstable-result.rs:51:28
10   |
11LL | fn impls_trait<T: ?Sized + Trait<U, V, D>, U: ?Sized, V: ?Sized, D: ?Sized>() {}
12   |                            ^^^^^^^^^^^^^^ required by this bound in `impls_trait`
13
14error: aborting due to previous error
15
16For more information about this error, try `rustc --explain E0277`.