]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0253.rs
Merge commit '05677b6bd6c938ed760835d9b1f6514992654ae3' into sync_cg_clif-2021-08-06
[rust.git] / src / test / ui / error-codes / E0253.rs
1 mod foo {
2     pub trait MyTrait {
3         fn do_something();
4     }
5 }
6
7 use foo::MyTrait::do_something;
8     //~^ ERROR E0253
9
10 fn main() {}