summaryrefslogtreecommitdiffstats
path: root/src/test/ui/error-codes/E0254.rs
blob: e291268be86e56333249110c4e63dcc58a4f1e75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#![allow(non_camel_case_types)]

extern crate alloc;

mod foo {
    pub trait alloc {
        fn do_something();
    }
}

use foo::alloc;
//~^ ERROR E0254

fn main() {}