rust/compiler/rustc_resolve/src
Dylan DPC 68afa32985
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.
2022-11-01 22:01:36 +05:30
..
diagnostics Implement the unused_macro_rules lint 2022-05-05 19:13:00 +02:00
late Rollup merge of #103560 - zbyrn:issue-103358-fix, r=cjgillot 2022-10-30 11:50:26 +05:30
build_reduced_graph.rs resolve: Turn the binding from #[macro_export] into a proper Import 2022-10-31 21:25:00 +04:00
check_unused.rs resolve: Not all imports have their own NodeId 2022-10-31 20:25:27 +04:00
def_collector.rs Rename AssocItemKind::TyAlias to AssocItemKind::Type 2022-10-10 02:31:37 +00:00
diagnostics.rs Rollup merge of #103760 - petrochenkov:macimp, r=cjgillot 2022-11-01 22:01:36 +05:30
effective_visibilities.rs resolve: Turn the binding from #[macro_export] into a proper Import 2022-10-31 21:25:00 +04:00
ident.rs Rollup merge of #103760 - petrochenkov:macimp, r=cjgillot 2022-11-01 22:01:36 +05:30
imports.rs resolve: Turn the binding from #[macro_export] into a proper Import 2022-10-31 21:25:00 +04:00
late.rs Rollup merge of #103706 - zbyrn:issue-101637-fix, r=estebank 2022-11-01 14:12:26 +05:30
lib.rs Rollup merge of #103760 - petrochenkov:macimp, r=cjgillot 2022-11-01 22:01:36 +05:30
macros.rs fix span for suggestion 2022-10-20 11:55:30 +08:00