fork/rust

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

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

master
406 B11 linesraw
1error: implementation of `MyTrait` is not general enough
2  --> $DIR/opaque-hrtb.rs:11:5
3   |
4LL |     bar()
5   |     ^^^^^ implementation of `MyTrait` is not general enough
6   |
7   = note: `impl MyTrait<&'2 str>` must implement `MyTrait<&'1 str>`, for any lifetime `'1`...
8   = note: ...but it actually implements `MyTrait<&'2 str>`, for some specific lifetime `'2`
9
10error: aborting due to previous error
11