rust/compiler/rustc_parse/src/parser
Dylan DPC 8216b359e5
Rollup merge of #79185 - petrochenkov:derattr2, r=Aaron1011
expand/resolve: Pre-requisites to "Turn `#[derive]` into a regular macro attribute"

Miscellaneous refactorings and error reporting changes extracted from https://github.com/rust-lang/rust/pull/79078.

Unlike https://github.com/rust-lang/rust/pull/79078 this PR doesn't make any observable changes to the language or library.
r? ```@Aaron1011```
2020-11-19 23:58:42 +01:00
..
attr.rs resolve/expand: Misc cleanup 2020-11-19 19:25:20 +03:00
diagnostics.rs Permit standalone generic parameters as const generic arguments in macros 2020-11-18 13:16:35 +00:00
expr.rs Add underscore expressions for destructuring assignments 2020-11-14 13:53:12 +00:00
generics.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
item.rs Use reparsed TokenStream if we captured any inner attributes 2020-11-02 13:22:03 -05:00
mod.rs rustc_parse: Remove optimization for 0-length streams in collect_tokens 2020-11-12 22:00:48 +03:00
nonterminal.rs Fix even more clippy warnings 2020-10-30 10:13:39 -04:00
pat.rs rustc_ast: visit_mac -> visit_mac_call 2020-11-03 23:39:51 +03:00
path.rs Permit standalone generic parameters as const generic arguments in macros 2020-11-18 13:16:35 +00:00
stmt.rs Detect blocks that could be struct expr bodies 2020-10-07 13:40:52 -07:00
ty.rs Tweak invalid fn header and body parsing 2020-10-25 18:34:14 -07:00