summaryrefslogtreecommitdiffstats
path: root/tests/ui/consts/const-eval/dangling.stderr
blob: 92d70573d98a15d709219cc71013dd1ade3a9a2d (plain)
1
2
3
4
5
6
7
8
9
error[E0080]: evaluation of constant value failed
  --> $DIR/dangling.rs:6:16
   |
LL |     let _val = &*slice;
   |                ^^^^^^^ invalid metadata in wide pointer: slice is bigger than largest supported object

error: aborting due to previous error

For more information about this error, try `rustc --explain E0080`.