fork/rust

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

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

master
316 B8 linesraw
1error: `impl Trait` can only mention lifetimes from an fn or impl
2  --> $DIR/universal_wrong_hrtb.rs:5:73
3   |
4LL | fn test_argument_position(x: impl for<'a> Trait<'a, Assoc = impl Copy + 'a>) {}
5   |                                       -- lifetime declared here         ^^
6
7error: aborting due to previous error
8