rust/compiler/rustc_passes/src
bors 3d9ada686f Auto merge of #79073 - davidtwco:issue-78957-const-param-attrs, r=lcnr
passes: prohibit invalid attrs on generic params

Fixes #78957.

This PR modifies the `check_attr` pass so that attribute placement on generic parameters is checked for validity.

r? `@lcnr`
2020-12-19 04:32:50 +00:00
..
liveness Move RWUTable to a separate module 2020-12-09 00:00:00 +00:00
check_attr.rs Auto merge of #79073 - davidtwco:issue-78957-const-param-attrs, r=lcnr 2020-12-19 04:32:50 +00:00
check_const.rs Implement lowering of if-let guards to MIR 2020-12-06 13:42:24 +01:00
dead.rs Simplify visit_{foreign,trait}_item 2020-12-08 15:56:15 +01:00
diagnostic_items.rs Use visitor for its very purpose. 2020-11-26 21:32:29 +01:00
entry.rs Formatting. 2020-11-26 21:32:29 +01:00
hir_id_validator.rs Do not visit ForeignItemRef for HIR indexing and validation. 2020-11-28 18:08:17 +01:00
hir_stats.rs rustc_ast: visit_mac -> visit_mac_call 2020-11-03 23:39:51 +03:00
intrinsicck.rs Retain assembly operands span when lowering AST to HIR 2020-12-06 20:48:08 +01:00
lang_items.rs Store ForeignItem in a side table. 2020-11-26 21:29:27 +01:00
layout_test.rs Store ForeignItem in a side table. 2020-11-26 21:29:27 +01:00
lib_features.rs
lib.rs Validate use of parameters in naked functions 2020-11-25 00:00:00 +00:00
liveness.rs Rollup merge of #79051 - LeSeulArtichaut:if-let-guard, r=matthewjasper 2020-12-17 11:43:55 +09:00
loops.rs
naked_functions.rs Validate naked functions definitions 2020-12-07 00:00:00 +00:00
reachable.rs Formatting. 2020-11-26 21:32:29 +01:00
region.rs
stability.rs Allow since="TBD" for rustc_deprecated 2020-12-16 13:21:24 -05:00
upvars.rs
weak_lang_items.rs Collapse all uses of target.options.foo into target.foo 2020-11-08 17:29:13 +03:00