]> git.lizzy.rs Git - rust.git/blob - src/test/ui/imports/issue-4865-3.rs
Add 'src/tools/rustfmt/' from commit '7872306edf2e11a69aaffb9434088fd66b46a863'
[rust.git] / src / test / ui / imports / issue-4865-3.rs
1 // run-pass
2 #![allow(unused_imports)]
3 // This should resolve fine even with the circular imports as
4 // they are not `pub`.
5
6 pub mod a {
7     use b::*;
8 }
9
10 pub mod b {
11     use a::*;
12 }
13
14 use a::*;
15
16 fn main() {
17 }