rust/compiler/rustc_hir/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
..
arena.rs Retain assembly operands span when lowering AST to HIR 2020-12-06 20:48:08 +01:00
def.rs resolve: Introduce a separate NonMacroAttrKind for legacy derive helpers 2020-11-19 19:25:20 +03:00
definitions.rs Changed unwrap_or to unwrap_or_else in some places. 2020-11-10 20:07:47 -08:00
hir_id.rs Remove unused code from rustc_hir 2020-10-14 04:14:32 +02:00
hir.rs Rollup merge of #79051 - LeSeulArtichaut:if-let-guard, r=matthewjasper 2020-12-17 11:43:55 +09:00
intravisit.rs Rollup merge of #79051 - LeSeulArtichaut:if-let-guard, r=matthewjasper 2020-12-17 11:43:55 +09:00
itemlikevisit.rs Store ForeignItem in a side table. 2020-11-26 21:29:27 +01:00
lang_items.rs Fix const core::panic!(non_literal_str). 2020-10-22 18:41:35 +02:00
lib.rs [WIP] give better errors for broken intra doc links 2020-09-05 13:48:19 -04:00
pat_util.rs Fix even more clippy warnings 2020-10-30 10:13:39 -04:00
stable_hash_impls.rs Store ForeignItem in a side table. 2020-11-26 21:29:27 +01:00
target.rs passes: prohibit attrs on generic params 2020-11-29 14:05:19 +00:00
weak_lang_items.rs