summaryrefslogtreecommitdiffstats
path: root/src/test/ui/resolve/resolve-conflict-item-vs-import.rs
blob: 4308c7a27501a3564545cefd7bffd0d0ed620401 (plain)
1
2
3
4
5
6
7
8
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() {
}