mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-17 04:57:21 +00:00
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`