fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: lifetime may not live long enough 2 --> $DIR/issue-67007-escaping-data.rs:15:21 3 | 4LL | impl<'tcx> Consumer<'tcx> { 5 | ---- lifetime `'tcx` defined here 6LL | fn bad_method<'a>(&self, fcx: &FnCtxt<'a, 'tcx>) { 7 | -- lifetime `'a` defined here 8LL | let other = self.use_fcx(fcx); 9 | ^^^^^^^^^^^^^^^^^ argument requires that `'a` must outlive `'tcx` 10 | 11 = help: consider adding the following bound: `'a: 'tcx` 12 13error: aborting due to previous error 14