summaryrefslogtreecommitdiffstats
path: root/src/test/ui/consts/dangling-alloc-id-ice.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/consts/dangling-alloc-id-ice.stderr')
-rw-r--r--src/test/ui/consts/dangling-alloc-id-ice.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/ui/consts/dangling-alloc-id-ice.stderr b/src/test/ui/consts/dangling-alloc-id-ice.stderr
new file mode 100644
index 000000000..8410034c0
--- /dev/null
+++ b/src/test/ui/consts/dangling-alloc-id-ice.stderr
@@ -0,0 +1,8 @@
+error: encountered dangling pointer in final constant
+ --> $DIR/dangling-alloc-id-ice.rs:9:1
+ |
+LL | const FOO: &() = {
+ | ^^^^^^^^^^^^^^
+
+error: aborting due to previous error
+