]> git.lizzy.rs Git - rust.git/blob - src/tools/miri/tests/fail/function_calls/exported_symbol_clashing.stderr
Auto merge of #99609 - workingjubilee:lossy-unix-strerror, r=thomcc
[rust.git] / src / tools / miri / tests / fail / function_calls / exported_symbol_clashing.stderr
1 error: multiple definitions of symbol `foo`
2   --> $DIR/exported_symbol_clashing.rs:LL:CC
3    |
4 LL |     unsafe { foo() }
5    |              ^^^^^ multiple definitions of symbol `foo`
6    |
7 help: it's first defined here, in crate `exported_symbol_clashing`
8   --> $DIR/exported_symbol_clashing.rs:LL:CC
9    |
10 LL | fn foo() {}
11    | ^^^^^^^^
12 help: then it's defined here again, in crate `exported_symbol_clashing`
13   --> $DIR/exported_symbol_clashing.rs:LL:CC
14    |
15 LL | fn bar() {}
16    | ^^^^^^^^
17    = note: BACKTRACE:
18    = note: inside `main` at $DIR/exported_symbol_clashing.rs:LL:CC
19
20 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
21
22 error: aborting due to previous error
23