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

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

16 lines
157 B
Rust
Raw Normal View History

#![allow(non_camel_case_types)]
2016-08-03 23:51:52 +00:00
use foo::baz;
use bar::baz; //~ ERROR E0252
mod foo {
pub struct baz;
}
mod bar {
pub mod baz {}
}
fn main() {
}