fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0700]: hidden type for `E<'b, 'c>` captures lifetime that does not appear in bounds 2 --> $DIR/error-handling-2.rs:22:5 3 | 4LL | type E<'a, 'b> = impl Sized; 5 | ---------- opaque type defined here 6LL | 7LL | fn foo<'a: 'b, 'b, 'c>(x: &'static i32, mut y: &'a i32) -> E<'b, 'c> { 8 | -- hidden type `*mut &'a i32` captures the lifetime `'a` as defined here 9... 10LL | u.0 11 | ^^^ 12 13error: aborting due to previous error 14 15For more information about this error, try `rustc --explain E0700`.