fork/rust

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

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

master
588 B12 linesraw
1error[E0700]: hidden type for `impl Sized` captures lifetime that does not appear in bounds
2  --> $DIR/nested-rpit-hrtb-2.rs:6:57
3   |
4LL | fn test() -> impl for<'a> Trait<'a, Assoc = impl Sized> {}
5   |                       --                    ----------  ^^
6   |                       |                     |
7   |                       |                     opaque type defined here
8   |                       hidden type `&'a str` captures the lifetime `'a` as defined here
9
10error: aborting due to previous error
11
12For more information about this error, try `rustc --explain E0700`.