diff options
author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-11-01 22:01:36 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-01 22:01:36 +0530 |
commit | 68afa32985f5976cffe856043abbe72656546820 (patch) | |
tree | 5a8f5d85a9bf94ba739b76d58b72cfb7ac64782f /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
parent | 9f603feaeeb8f48c80fedc0128a55d0fff23a718 (diff) | |
parent | 84317518ffaf8e56524510a2ca634ebb64022249 (diff) | |
download | rust-68afa32985f5976cffe856043abbe72656546820.tar.gz |
Rollup merge of #103760 - petrochenkov:macimp, r=cjgillot
resolve: Turn the binding from `#[macro_export]` into a proper `Import`
Continuation of https://github.com/rust-lang/rust/pull/91795.
```rust
#[macro_export]
macro_rules! m { /*...*/ }
```
is desugared to something like
```rust
macro_rules! m { /*...*/ } // Non-modularized macro_rules item
pub use m; // It's modularized reexport
```
This PR adjusts the internal representation to better match this model.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions