rust/compiler/rustc_passes/src
bors 7bade6ef73 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).
2020-10-23 17:32:04 +00:00
..
check_attr.rs Auto merge of #77015 - davidtwco:check-attr-variant-closure-expr, r=lcnr 2020-10-23 17:32:04 +00:00
check_const.rs
dead.rs Remove weird slice conversion 2020-10-18 10:31:58 +02:00
diagnostic_items.rs transmute: use diagnostic item 2020-09-19 11:33:11 +02:00
entry.rs Enforce crate level attributes checks 2020-10-04 13:36:47 +02:00
hir_id_validator.rs Address review comment 2020-09-25 22:48:44 +01:00
hir_stats.rs
intrinsicck.rs Replace target.target with target and target.ptr_width with target.pointer_width 2020-10-15 12:02:24 +02:00
lang_items.rs
layout_test.rs
lib_features.rs
lib.rs liveness: Use newtype_index for Variable and LiveNode 2020-09-26 16:44:41 +02:00
liveness.rs Mark InOut operands as used in RWU table with write_place 2020-10-18 23:51:10 -05:00
loops.rs
reachable.rs
region.rs
stability.rs stabilize union with 'ManuallyDrop' fields and 'impl Drop for Union' 2020-10-16 11:33:33 +02:00
upvars.rs
weak_lang_items.rs Replace target.target with target and target.ptr_width with target.pointer_width 2020-10-15 12:02:24 +02:00