Skip to content

Commit 31183c3

Browse files
committed
Add test for rust-lang#69596
1 parent 2af085d commit 31183c3

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

src/test/incremental/issue-69596.rs

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// revisions: rpass1 rpass2
2+
3+
#![allow(unused_imports)]
4+
5+
#[macro_export]
6+
macro_rules! a_macro {
7+
() => {};
8+
}
9+
10+
#[cfg(rpass1)]
11+
use a_macro as same_name;
12+
13+
mod same_name {}
14+
15+
mod needed_mod {
16+
fn _crash() {
17+
use super::same_name;
18+
}
19+
}
20+
21+
fn main() {}

0 commit comments

Comments
 (0)