rust/compiler/rustc_passes/src
Matthias Krüger fea6c4eb07
Rollup merge of #134539 - estebank:restrict-non_exhaustive, r=jieyouxu
Restrict `#[non_exaustive]` on structs with default field values

Do not allow users to apply `#[non_exaustive]` to a struct when they have also used default field values.
2024-12-21 01:30:17 +01:00
..
liveness Reformat use declarations. 2024-07-29 08:26:52 +10:00
abi_test.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
check_attr.rs Rollup merge of #134539 - estebank:restrict-non_exhaustive, r=jieyouxu 2024-12-21 01:30:17 +01:00
dead.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
debugger_visualizer.rs Use SourceMap to load debugger visualizer files 2024-12-08 18:57:04 +00:00
diagnostic_items.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
entry.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
errors.rs Restrict #[non_exaustive] on structs with default field values 2024-12-20 17:18:54 +00:00
hir_id_validator.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
input_stats.rs Fix -Z inputs-stats ordering. 2024-12-17 15:17:28 +11:00
lang_items.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
layout_test.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
lib.rs Get rid of HIR const checker 2024-11-22 02:32:26 +00:00
lib_features.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
liveness.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
loops.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
naked_functions.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
reachable.rs Rollup merge of #131049 - compiler-errors:more-validation, r=spastorino 2024-10-22 15:28:38 +02:00
stability.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
upvars.rs Add warn(unreachable_pub) to rustc_passes. 2024-08-29 20:18:40 +10:00
weak_lang_items.rs Add warn(unreachable_pub) to rustc_passes. 2024-08-29 20:18:40 +10:00