mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-27 11:05:06 +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`