rust/compiler/rustc_passes/src
Matthias Krüger 1868c8f66f
Rollup merge of #133424 - Nadrieril:guard-patterns-parsing, r=fee1-dead
Parse guard patterns

This implements the parsing of [RFC3637 Guard Patterns](https://rust-lang.github.io/rfcs/3637-guard-patterns.html) (see also [tracking issue](https://github.com/rust-lang/rust/issues/129967)). This PR is extracted from https://github.com/rust-lang/rust/pull/129996 with minor modifications.

cc `@max-niederman`
2024-12-08 17:18:50 +01:00
..
liveness Reformat use declarations. 2024-07-29 08:26:52 +10:00
abi_test.rs use TypingEnv when no infcx is available 2024-11-18 10:38:56 +01:00
check_attr.rs Rollup merge of #127483 - BertalanD:no_sanitize-global-var, r=rcvalle 2024-11-23 20:19:51 +08:00
dead.rs use TypingEnv when no infcx is available 2024-11-18 10:38:56 +01:00
debugger_visualizer.rs Add warn(unreachable_pub) to rustc_passes. 2024-08-29 20:18:40 +10:00
diagnostic_items.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
entry.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
errors.rs Auto merge of #133321 - compiler-errors:const-checker, r=wesleywiser 2024-12-03 04:39:48 +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 Rollup merge of #133424 - Nadrieril:guard-patterns-parsing, r=fee1-dead 2024-12-08 17:18:50 +01:00
lang_items.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
layout_test.rs use TypingEnv when no infcx is available 2024-11-18 10:38:56 +01:00
lib.rs Get rid of HIR const checker 2024-11-22 02:32:26 +00:00
lib_features.rs nightly feature tracking: get rid of the per-feature bool fields 2024-10-23 09:14:41 +01:00
liveness.rs liveness checking, yeet TypingEnv::from_param_env 2024-11-19 18:06:20 +01:00
loops.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
naked_functions.rs various fixes for naked_asm! implementation 2024-10-06 19:00:09 +02:00
reachable.rs Rollup merge of #131049 - compiler-errors:more-validation, r=spastorino 2024-10-22 15:28:38 +02:00
stability.rs don't require const stability for const impls 2024-11-20 17:04:05 +08: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