rust/tests/ui/resolve/resolve-conflict-item-vs-import.rs
2023-01-11 09:32:08 +00:00

9 lines
229 B
Rust

use std::mem::transmute;
fn transmute() {}
//~^ ERROR the name `transmute` is defined multiple times
//~| `transmute` redefined here
//~| `transmute` must be defined only once in the value namespace of this module
fn main() {
}