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

11 lines
137 B
Rust
Raw Normal View History

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