about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-10-23 17:32:04 +0000
committerbors <bors@rust-lang.org>2020-10-23 17:32:04 +0000
commit7bade6ef730cff83f3591479a98916920f66decd (patch)
treeffd6635bae41a124e6ddeb89d0c5bb55fbae3513 /compiler/rustc_llvm/llvm-wrapper
parent07a63e6d1fabf3560e8e1e17c1d56b10a06152d9 (diff)
parent57e8fc56852e7728d7160242bf13c3ab6e066bd8 (diff)
downloadrust-7bade6ef730cff83f3591479a98916920f66decd.tar.gz
rust-7bade6ef730cff83f3591479a98916920f66decd.zip
Auto merge of #77015 - davidtwco:check-attr-variant-closure-expr, r=lcnr
passes: `check_attr` on more targets

This PR modifies `check_attr` so that:

- Enum variants are now checked (some attributes would not have been prohibited on variants previously).
- `check_expr_attributes` and `check_stmt_attributes` are removed as `check_attributes` can perform the same checks. This means that codegen attribute errors aren't shown if there are other errors first (e.g. from other attributes, as shown in `src/test/ui/macros/issue-68060.rs` changes below).
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
0 files changed, 0 insertions, 0 deletions