summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/regions-out-of-scope-slice.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/parser/regions-out-of-scope-slice.stderr')
-rw-r--r--src/test/ui/parser/regions-out-of-scope-slice.stderr11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/test/ui/parser/regions-out-of-scope-slice.stderr b/src/test/ui/parser/regions-out-of-scope-slice.stderr
deleted file mode 100644
index bbc657ffd..000000000
--- a/src/test/ui/parser/regions-out-of-scope-slice.stderr
+++ /dev/null
@@ -1,11 +0,0 @@
-error: borrow expressions cannot be annotated with lifetimes
- --> $DIR/regions-out-of-scope-slice.rs:7:13
- |
-LL | x = &'blk [1,2,3];
- | ^----^^^^^^^^
- | |
- | annotated with lifetime here
- | help: remove the lifetime annotation
-
-error: aborting due to previous error
-