rust/compiler/rustc_passes/src
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
..
liveness Reformat use declarations. 2024-07-29 08:26:52 +10:00
abi_test.rs Shrink TyKind::FnPtr. 2024-08-09 14:33:25 +10:00
check_attr.rs Rollup merge of #128989 - s7tya:check-linkage-attribute-pos, r=petrochenkov 2024-08-17 18:18:18 +02:00
check_const.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
dead.rs Revert "Rollup merge of #125572 - mu001999-contrib:dead/enhance, r=pnkfelix" 2024-08-03 07:57:31 -04:00
debugger_visualizer.rs Use more slice patterns inside the compiler 2024-08-07 13:37:52 +02:00
diagnostic_items.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
entry.rs rustc_passes: remove a redundant #[allow(rustc::untranslatable_diagnostic)] 2024-08-10 14:32:56 +03:00
errors.rs Emit an error for invalid use of the linkage attribute 2024-08-17 15:03:20 +09:00
hir_id_validator.rs Actually create ranged int types in the type system. 2024-04-08 12:02:19 +00:00
hir_stats.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
lang_items.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
layout_test.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
lib.rs Use tidy to sort crate attributes for all compiler crates. 2024-06-12 15:49:10 +10:00
lib_features.rs Remove Session methods that duplicate DiagCtxt methods. 2023-12-24 08:05:28 +11:00
liveness.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
loops.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
naked_functions.rs Rollup merge of #127853 - folkertdev:naked-function-error-messages, r=bjorn3 2024-07-28 08:57:16 +02:00
reachable.rs Miri function identity hack: account for possible inlining 2024-07-02 21:05:30 +02:00
stability.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
upvars.rs Make body_owned_by return the body directly. 2024-05-29 10:04:08 +00:00
weak_lang_items.rs Revert "Rollup merge of #124976 - petrochenkov:usedcrates, r=oli-obk" 2024-06-06 10:06:28 +00:00