diff options
Diffstat (limited to 'src/test/ui/nll/issue-48697.stderr')
-rw-r--r-- | src/test/ui/nll/issue-48697.stderr | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/test/ui/nll/issue-48697.stderr b/src/test/ui/nll/issue-48697.stderr deleted file mode 100644 index f0c29b72b..000000000 --- a/src/test/ui/nll/issue-48697.stderr +++ /dev/null @@ -1,11 +0,0 @@ -error[E0515]: cannot return value referencing local variable `z` - --> $DIR/issue-48697.rs:7:5 - | -LL | let k = f(&z); - | -- `z` is borrowed here -LL | f(x) - | ^^^^ returns a value referencing data owned by the current function - -error: aborting due to previous error - -For more information about this error, try `rustc --explain E0515`. |