Skip to content

Commit 17e6ed1

Browse files
authored
Rollup merge of #70238 - petrochenkov:procmod, r=Centril
Add a test for out-of-line module passed through a proc macro Closes #58818.
2 parents 39c5222 + e391d77 commit 17e6ed1

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)