24 lines
716 B
Plaintext
24 lines
716 B
Plaintext
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
|
|
|