mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-12 23:34:27 +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`