rust/tests/ui/error-codes/E0253.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
137 B
Rust
Raw Normal View History

2016-08-05 19:17:39 +08:00
mod foo {
pub trait MyTrait {
fn do_something();
}
}
use foo::MyTrait::do_something;
//~^ ERROR E0253
2016-08-05 19:17:39 +08:00
fn main() {}