fork/rust

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

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

master
884 B23 linesraw
1warning: the feature `non_lifetime_binders` is incomplete and may not be safe to use and/or cause compiler crashes
2  --> $DIR/missing-assoc-item.rs:1:12
3   |
4LL | #![feature(non_lifetime_binders)]
5   |            ^^^^^^^^^^^^^^^^^^^^
6   |
7   = note: see issue #108185 <https://github.com/rust-lang/rust/issues/108185> for more information
8   = note: `#[warn(incomplete_features)]` on by default
9
10error[E0223]: ambiguous associated type
11  --> $DIR/missing-assoc-item.rs:6:12
12   |
13LL |     for<B> B::Item: Send,
14   |            ^^^^^^^
15   |
16help: if there were a trait named `Example` with associated type `Item` implemented for `B`, you could use the fully-qualified path
17   |
18LL |     for<B> <B as Example>::Item: Send,
19   |            ~~~~~~~~~~~~~~~~~~~~
20
21error: aborting due to previous error; 1 warning emitted
22
23For more information about this error, try `rustc --explain E0223`.