]>
git.proxmox.com Git - rustc.git/blame - src/test/ui/imports/import-loop-2.rs
Commit | Line | Data |
223e47cc LB |
1 | // error-pattern:import |
2 | |
3 | mod a { |
4 | pub use b::x; |
5 | } |
6 | |
7 | mod b { |
8 | pub use a::x; |
9 | |
10 | fn main() { let y = x; } |
11 | } |
b7449926 XL |
12 | |
13 | fn main() {} |