]> git.lizzy.rs Git - rust.git/blob - src/tools/miri/tests/fail/unsized-local.stderr
Rollup merge of #102187 - b-naber:inline-const-source-info, r=eholk
[rust.git] / src / tools / miri / tests / fail / unsized-local.stderr
1 error: unsupported operation: unsized locals are not supported
2   --> $DIR/unsized-local.rs:LL:CC
3    |
4 LL |     let x = *(Box::new(A) as Box<dyn Foo>);
5    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsized locals are not supported
6    |
7    = help: this is likely not a bug in the program; it indicates that the program performed an operation that the interpreter does not support
8    = note: BACKTRACE:
9    = note: inside `main` at $DIR/unsized-local.rs:LL:CC
10
11 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
12
13 error: aborting due to previous error
14