]> git.lizzy.rs Git - rust.git/blob - src/tools/miri/tests/fail/extern_static.stderr
Rollup merge of #102187 - b-naber:inline-const-source-info, r=eholk
[rust.git] / src / tools / miri / tests / fail / extern_static.stderr
1 error: unsupported operation: `extern` static `FOO` from crate `extern_static` is not supported by Miri
2   --> $DIR/extern_static.rs:LL:CC
3    |
4 LL |     let _val = unsafe { std::ptr::addr_of!(FOO) };
5    |                                            ^^^ `extern` static `FOO` from crate `extern_static` is not supported by Miri
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/extern_static.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