rust/tests/ui/resolve/resolve-conflict-item-vs-import.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
229 B
Rust
Raw Normal View History

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() {
}