rust/tests/ui/imports/issue-26873-multifile/issue-26873-onefile.rs
2023-01-11 09:32:08 +00:00

26 lines
306 B
Rust

// run-pass
#![allow(dead_code)]
#![allow(unused_imports)]
#![allow(non_snake_case)]
mod A {
pub mod B {
use super::*;
pub struct S;
}
pub mod C {
use super::*;
use super::B::S;
pub struct T;
}
pub use self::C::T;
}
use A::*;
fn main() {}