rust/tests/fail/function_calls/exported_symbol_clashing.stderr
2022-06-01 10:53:38 -04:00

23 lines
694 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: 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