summaryrefslogtreecommitdiffstats
path: root/src/test/ui/rust-2018/uniform-paths/ambiguity.rs
blob: 60f77a1c663c78cdf27f5bd10e23ac39a15f9266 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// edition:2018

#![allow(non_camel_case_types)]

use std::io;
//~^ ERROR `std` is ambiguous

mod std {
    pub struct io;
}

fn main() {}