fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: lifetime may not live long enough 2 --> $DIR/error-handling.rs:22:16 3 | 4LL | fn foo<'a, 'b, 'c>(x: &'static i32, mut y: &'a i32) -> E<'b, 'c> { 5 | -- -- lifetime `'b` defined here 6 | | 7 | lifetime `'a` defined here 8... 9LL | let _: &'b i32 = *u.0; 10 | ^^^^^^^ type annotation requires that `'a` must outlive `'b` 11 | 12 = help: consider adding the following bound: `'a: 'b` 13 14error: aborting due to previous error 15