10000 Add a test for out-of-line module passed through a proc macro by petrochenkov · Pull Request #70238 · rust-lang/rust · GitHub
[go: up one dir, main page]

Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 22, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add a test for out-of-line module passed through a proc macro
  • Loading branch information
petrochenkov committed Mar 21, 2020
commit e391d776e3869f56ca1467a4c7e3469080c5378d
13 changes: 13 additions & 0 deletions src/test/ui/proc-macro/out-of-line-mod.rs
Original file line number Diff line number Diff line change
@@ -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() {}
0