fork/rust

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

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

master
732 B17 linesraw
1warning: the feature `non_lifetime_binders` is incomplete and may not be safe to use and/or cause compiler crashes
2  --> $DIR/nested-apit-mentioning-outer-bound-var.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: `impl Trait` can only mention type parameters from an fn or impl
11  --> $DIR/nested-apit-mentioning-outer-bound-var.rs:8:52
12   |
13LL | fn uwu(_: impl for<T> Trait<(), Assoc = impl Trait<T>>) {}
14   |                    - type parameter declared here  ^
15
16error: aborting due to previous error; 1 warning emitted
17