diff options
Diffstat (limited to 'src/test/ui/nll/issue-68550.stderr')
-rw-r--r-- | src/test/ui/nll/issue-68550.stderr | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/test/ui/nll/issue-68550.stderr b/src/test/ui/nll/issue-68550.stderr deleted file mode 100644 index e234ebb04..000000000 --- a/src/test/ui/nll/issue-68550.stderr +++ /dev/null @@ -1,16 +0,0 @@ -error[E0597]: `x` does not live long enough - --> $DIR/issue-68550.rs:12:20 - | -LL | fn run<'a, A>(x: A) - | -- lifetime `'a` defined here -... -LL | let _: &'a A = &x; - | ----- ^^ borrowed value does not live long enough - | | - | type annotation requires that `x` is borrowed for `'a` -LL | } - | - `x` dropped here while still borrowed - -error: aborting due to previous error - -For more information about this error, try `rustc --explain E0597`. |