rust/tests/ui/consts/const-eval/dangling.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
328 B
Plaintext
Raw Normal View History

2021-06-18 12:31:56 -05:00
error[E0080]: evaluation of constant value failed
--> $DIR/dangling.rs:6:16
2019-08-30 08:04:12 -05:00
|
2021-06-18 12:31:56 -05:00
LL | let _val = &*slice;
| ^^^^^^^ invalid metadata in wide pointer: slice is bigger than largest supported object
2019-08-30 08:04:12 -05:00
error: aborting due to previous error
2021-06-18 12:31:56 -05:00
For more information about this error, try `rustc --explain E0080`.