]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0254.rs
Rollup merge of #59056 - scottmcm:even-fewer-lifetimes, r=sfackler
[rust.git] / src / test / ui / error-codes / E0254.rs
1 #![feature(alloc)]
2 #![allow(unused_extern_crates, non_camel_case_types)]
3
4 extern crate alloc;
5
6 mod foo {
7     pub trait alloc {
8         fn do_something();
9     }
10 }
11
12 use foo::alloc;
13 //~^ ERROR E0254
14
15 fn main() {}