7 lines
129 B
Rust
7 lines
129 B
Rust
fn foo<'a,'b>(x: &mut Vec<&'a u8>, y: &'b u8) {
|
|
x.push(y);
|
|
//~^ ERROR lifetime may not live long enough
|
|
}
|
|
|
|
fn main() { }
|