mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-21 20:37:59 +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`