]> git.proxmox.com Git - rustc.git/blob - tests/ui/imports/import-after-macro-expand-3.rs
New upstream version 1.73.0+dfsg1
[rustc.git] / tests / ui / imports / import-after-macro-expand-3.rs
1 // check-pass
2 // similar with `import-after-macro-expand-2.rs`
3
4 use thing::*;
5
6 pub enum Thing {
7 Foo
8 }
9
10 mod tests {
11 use super::*;
12
13 fn test_thing() {
14 let thing: crate::Thing = Thing::Foo;
15 }
16 }
17
18 mod thing {
19 pub enum Thing {
20 Bar
21 }
22 }
23
24 fn main() {}