summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0253.rs
blob: 284b16da8f22ea522416903d08e360a3a49771fe (plain)
1
2
3
4
5
6
7
8
9
10
mod foo {
    pub trait MyTrait {
        fn do_something();
    }
}

use foo::MyTrait::do_something;
    //~^ ERROR E0253

fn main() {}