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