rust/compiler/rustc_resolve/src
bors 5e65467eff Auto merge of #83488 - Aaron1011:ban-expr-inner-attrs, r=petrochenkov
Ban custom inner attributes in expressions and statements

Split out from https://github.com/rust-lang/rust/pull/82608

Custom inner attributes are unstable, so this won't break any stable users.
This allows us to speed up token collection, and avoid a redundant call to `collect_tokens_no_attrs` when parsing an `Expr` that has outer attributes.

r? `@petrochenkov`
2021-03-26 17:26:18 +00:00
..
late write-up what is happening 2021-03-25 09:24:27 -04:00
build_reduced_graph.rs ast/hir: Rename field-related structures 2021-03-16 11:41:24 +03:00
check_unused.rs Attach TokenStream to ast::Visibility 2020-09-10 17:33:06 -04:00
def_collector.rs ast/hir: Rename field-related structures 2021-03-16 11:41:24 +03:00
diagnostics.rs Some refactoring 2021-03-23 17:16:20 +00:00
imports.rs Fix ICE with use clippy:🅰️:b; 2021-03-21 14:20:28 -07:00
late.rs Some refactoring 2021-03-23 17:16:20 +00:00
lib.rs progress, stuff compiles now 2021-03-23 17:16:20 +00:00
macros.rs Ban custom inner attributes in expressions and statements 2021-03-25 18:05:30 -04:00