rust/compiler/rustc_resolve
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
..
src Auto merge of #83488 - Aaron1011:ban-expr-inner-attrs, r=petrochenkov 2021-03-26 17:26:18 +00:00
Cargo.toml bumped smallvec deps 2021-02-14 18:03:11 +03:00