diff options
| author | bors <bors@rust-lang.org> | 2018-07-31 20:52:14 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-07-31 20:52:14 +0000 |
| commit | e94df4acb4c3f42fdc224a7164b63a99240add1e (patch) | |
| tree | 8df8a1ea7ec362ba86b49d3f9ced0d7a21df2179 /src/rustllvm/PassWrapper.cpp | |
| parent | f89817997ac0aa100bf91997194ad85a7e59f743 (diff) | |
| parent | 44422409a43544a1300506c83fbc2e8f3049d8a5 (diff) | |
| download | rust-e94df4acb4c3f42fdc224a7164b63a99240add1e.tar.gz rust-e94df4acb4c3f42fdc224a7164b63a99240add1e.zip | |
Auto merge of #52234 - petrochenkov:macuse2, r=Mark-Simulacrum
resolve: Modularize crate-local `#[macro_export] macro_rules` Based on https://github.com/rust-lang/rust/pull/50911, cc https://github.com/rust-lang/rust/pull/50911#issuecomment-401151270 `#[macro_export] macro_rules` items are collected from the whole crate and are planted into the root module as items, so the external view of the crate is symmetric with its internal view and something like `$crate::my_macro` where `my_macro` is `#[macro_export] macro_rules` works both locally and from other crates. Closes https://github.com/rust-lang/rust/issues/52726
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
