]> git.lizzy.rs Git - rust.git/blob - tests/ui/consts/const-eval/dangling.stderr
Rollup merge of #106692 - eggyal:mv-binary_heap.rs-binary_heap/mod.rs, r=Mark-Simulacrum
[rust.git] / tests / ui / consts / const-eval / dangling.stderr
1 error[E0080]: evaluation of constant value failed
2   --> $DIR/dangling.rs:6:16
3    |
4 LL |     let _val = &*slice;
5    |                ^^^^^^^ invalid metadata in wide pointer: slice is bigger than largest supported object
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0080`.