rust/compiler/rustc_passes
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
..
src Auto merge of #77015 - davidtwco:check-attr-variant-closure-expr, r=lcnr 2020-10-23 17:32:04 +00:00
Cargo.toml liveness: Use newtype_index for Variable and LiveNode 2020-09-26 16:44:41 +02:00