rust/compiler
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-19 19:45:32 -05:00
2021-03-23 17:16:20 +00:00
2021-03-19 19:45:32 -05:00
2021-03-23 17:16:20 +00:00
2021-03-19 19:45:32 -05:00
2021-03-19 19:45:32 -05:00
2021-03-23 17:16:20 +00:00