2024-09-11 12:07:24 +01:00
|
|
|
error[E0428]: the name `foo` is defined multiple times
|
2025-03-29 02:41:32 +03:00
|
|
|
--> $DIR/tied-features-no-implication.rs:27:1
|
2024-09-11 12:07:24 +01:00
|
|
|
|
|
|
|
|
|
LL | fn foo() {}
|
|
|
|
|
| -------- previous definition of the value `foo` here
|
|
|
|
|
...
|
2025-03-29 02:41:32 +03:00
|
|
|
LL | pub unsafe fn foo() {}
|
2024-09-11 12:07:24 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^ `foo` redefined here
|
|
|
|
|
|
|
|
|
|
|
= note: `foo` must be defined only once in the value namespace of this module
|
|
|
|
|
|
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0428`.
|