fork/rust

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

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

master
417 B11 linesraw
1error: implementation of `Trait` is not general enough
2  --> $DIR/hrtb-exists-forall-trait-invariant.rs:28:5
3   |
4LL |     foo::<()>();
5   |     ^^^^^^^^^^^ implementation of `Trait` is not general enough
6   |
7   = note: `()` must implement `Trait<for<'b> fn(Cell<&'b u32>)>`
8   = note: ...but it actually implements `Trait<fn(Cell<&'0 u32>)>`, for some specific lifetime `'0`
9
10error: aborting due to previous error
11