1
Fork 0

Rollup merge of #70238 - petrochenkov:procmod, r=Centril

Add a test for out-of-line module passed through a proc macro

Closes https://github.com/rust-lang/rust/issues/58818.
This commit is contained in:
Dylan DPC 2020-03-21 22:56:31 +01:00 committed by GitHub
commit 17e6ed1fd9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,13 @@
// Out-of-line module is found on the filesystem if passed through a proc macro (issue #58818).
// check-pass
// aux-build:test-macros.rs
#[macro_use]
extern crate test_macros;
mod outer {
identity! { mod inner; }
}
fn main() {}