2022-03-17 08:49:10 -05:00
|
|
|
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() {}
|
|
|
|
| ^^^^^^^^
|
2022-07-02 09:11:39 -05:00
|
|
|
= note: backtrace:
|
2022-03-17 08:49:10 -05:00
|
|
|
= 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
|
|
|
|
|