fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: lifetime may not live long enough 2 --> $DIR/issue-17758.rs:7:9 3 | 4LL | trait Foo<'a> { 5 | -- lifetime `'a` defined here 6LL | fn foo(&'a self); 7LL | fn bar(&self) { 8 | - let's call the lifetime of this reference `'1` 9LL | self.foo(); 10 | ^^^^^^^^^^ argument requires that `'1` must outlive `'a` 11 12error: aborting due to previous error 13