rust/compiler/rustc_passes
Matthias Krüger cfeded47a4
Rollup merge of #128989 - s7tya:check-linkage-attribute-pos, r=petrochenkov
Emit an error for invalid use of the linkage attribute

fixes #128486

Currently, the use of the linkage attribute for Mod, Impl,... is incorrectly permitted. This PR will correct this issue by generating errors, and I've also added some UI test cases for it.

Related: #128552.
2024-08-17 18:18:18 +02:00
..
src Rollup merge of #128989 - s7tya:check-linkage-attribute-pos, r=petrochenkov 2024-08-17 18:18:18 +02:00
Cargo.toml Test and implement reachability for trait objects and generic parameters of functions 2024-03-14 14:10:45 +00:00
messages.ftl Rollup merge of #128989 - s7tya:check-linkage-attribute-pos, r=petrochenkov 2024-08-17 18:18:18 +02:00