about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/builder.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-03-26 17:26:18 +0000
committerbors <bors@rust-lang.org>2021-03-26 17:26:18 +0000
commit5e65467eff3d1da4712586d8402d1d2e1d6654bc (patch)
tree27aab873452a5138f35e69ec1f4f709471fe094c /compiler/rustc_codegen_llvm/src/builder.rs
parentb8719c51e0e44483cff9b6975a830f6e51812a48 (diff)
parent7504b9bb96236a340c41c95f95cf3c4a09341afc (diff)
downloadrust-5e65467eff3d1da4712586d8402d1d2e1d6654bc.tar.gz
rust-5e65467eff3d1da4712586d8402d1d2e1d6654bc.zip
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`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder.rs')
0 files changed, 0 insertions, 0 deletions