Skip to content

Commit e391d77

Browse files
committed
Add a test for out-of-line module passed through a proc macro
1 parent 7900b2b commit e391d77

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// Out-of-line module is found on the filesystem if passed through a proc macro (issue #58818).
2+
3+
// check-pass
4+
// aux-build:test-macros.rs
5+
6+
#[macro_use]
7+
extern crate test_macros;
8+
9+
mod outer {
10+
identity! { mod inner; }
11+
}
12+
13+
fn main() {}

0 commit comments

Comments
 (0)