rust/compiler/rustc_resolve/src
Matthias Krüger 519a842c50
Rollup merge of #91313 - petrochenkov:cratexp, r=Aaron1011
expand: Turn `ast::Crate` into a first class expansion target

And stop creating a fake `mod` item for the crate root when expanding a crate, thus addressing FIXMEs left in https://github.com/rust-lang/rust/pull/82238, and making a step towards a proper support for crate-level macro attributes (cc #54726).

I haven't added token collection support for the whole crate in this PR, maybe later.
r? `@Aaron1011`
2021-12-01 20:57:43 +01:00
..
late Take a LocalDefId in expect_*item. 2021-11-28 21:09:45 +01:00
build_reduced_graph.rs expand: Turn ast::Crate into a first class expansion target 2021-11-28 15:48:55 +08:00
check_unused.rs Add ty::Visibility::is_public() 2021-11-09 18:35:00 -08:00
def_collector.rs expand: Turn ast::Crate into a first class expansion target 2021-11-28 15:48:55 +08:00
diagnostics.rs Improve error message for E0659 if the source is not available 2021-11-27 18:42:49 +01:00
imports.rs Rollup merge of #90628 - ken-matsui:clarify-error-messages-caused-by-reexporting-pub-crate-visibility-to-outside, r=oli-obk 2021-11-20 10:21:13 +01:00
late.rs Do not visit attributes in LateResolutionVisitor. 2021-11-25 00:24:04 +01:00
lib.rs Fix bad NodeId limit checking. 2021-12-01 15:08:37 +11:00
macros.rs Suggestion to wrap inner types using allocator_api in tuple 2021-11-24 00:24:13 +09:00