rust/tests/fail/function_calls/exported_symbol_clashing.stderr

24 lines
716 B
Plaintext
Raw Normal View History

error: multiple definitions of symbol `foo`
--> $DIR/exported_symbol_clashing.rs:LL:CC
|
LL | unsafe { foo() }
| ^^^^^ multiple definitions of symbol `foo`
|
help: it's first defined here, in crate `exported_symbol_clashing`
--> $DIR/exported_symbol_clashing.rs:LL:CC
|
LL | fn foo() {}
| ^^^^^^^^
help: then it's defined here again, in crate `exported_symbol_clashing`
--> $DIR/exported_symbol_clashing.rs:LL:CC
|
LL | fn bar() {}
| ^^^^^^^^
= note: backtrace:
= note: inside `main` at $DIR/exported_symbol_clashing.rs:LL:CC
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
error: aborting due to previous error