mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-01 09:32:15 +00:00
11 lines
129 B
Rust
11 lines
129 B
Rust
mod foo {
|
|
pub trait MyTrait {
|
|
type SomeType;
|
|
}
|
|
}
|
|
|
|
use foo::MyTrait::SomeType;
|
|
//~^ ERROR E0253
|
|
|
|
fn main() {}
|