diff options
Diffstat (limited to 'src/test/ui/borrowck/borrowck-local-borrow-outlives-fn.stderr')
-rw-r--r-- | src/test/ui/borrowck/borrowck-local-borrow-outlives-fn.stderr | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/test/ui/borrowck/borrowck-local-borrow-outlives-fn.stderr b/src/test/ui/borrowck/borrowck-local-borrow-outlives-fn.stderr deleted file mode 100644 index 9d19de211..000000000 --- a/src/test/ui/borrowck/borrowck-local-borrow-outlives-fn.stderr +++ /dev/null @@ -1,9 +0,0 @@ -error[E0515]: cannot return reference to function parameter `x` - --> $DIR/borrowck-local-borrow-outlives-fn.rs:2:5 - | -LL | &x - | ^^ returns a reference to data owned by the current function - -error: aborting due to previous error - -For more information about this error, try `rustc --explain E0515`. |