rust/compiler/rustc_parse/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
..
lexer review comment: plural of emoji is emoji 2021-11-23 20:36:19 +00:00
parser Rollup merge of #91313 - petrochenkov:cratexp, r=Aaron1011 2021-12-01 20:57:43 +01:00
lib.rs expand: Turn ast::Crate into a first class expansion target 2021-11-28 15:48:55 +08:00
validate_attr.rs rustc_feature: Convert BuiltinAttribute from tuple to a struct 2021-11-12 20:15:14 +08:00