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
..
2021-03-25 09:24:27 -04:00
2021-03-23 17:16:20 +00:00
2021-03-21 14:20:28 -07:00
2021-03-23 17:16:20 +00:00
2021-03-23 17:16:20 +00:00