fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
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`.