]> git.lizzy.rs Git - rust.git/blob - src/tools/miri/tests/fail/function_calls/exported_symbol_shim_clashing.stderr
Rollup merge of #101875 - fmease:allow-more-negative-copy-impls, r=lcnr
[rust.git] / src / tools / miri / tests / fail / function_calls / exported_symbol_shim_clashing.stderr
1 error: found `malloc` symbol definition that clashes with a built-in shim
2   --> $DIR/exported_symbol_shim_clashing.rs:LL:CC
3    |
4 LL |         malloc(0);
5    |         ^^^^^^^^^ found `malloc` symbol definition that clashes with a built-in shim
6    |
7 help: the `malloc` symbol is defined here
8   --> $DIR/exported_symbol_shim_clashing.rs:LL:CC
9    |
10 LL | / extern "C" fn malloc(_: usize) -> *mut std::ffi::c_void {
11 LL | |
12 LL | |     unreachable!()
13 LL | | }
14    | |_^
15    = note: BACKTRACE:
16    = note: inside `main` at $DIR/exported_symbol_shim_clashing.rs:LL:CC
17
18 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
19
20 error: aborting due to previous error
21