rust/compiler/rustc_ast/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
..
attr Change AttrArgs::Eq into a struct variant 2024-12-02 10:28:58 +00:00
expand Single commit implementing the enzyme/autodiff frontend 2024-10-11 19:13:31 +02:00
util Eliminate magic numbers from expression precedence 2024-11-30 17:53:40 -08:00
ast.rs Rollup merge of #133424 - Nadrieril:guard-patterns-parsing, r=fee1-dead 2024-12-08 17:18:50 +01:00
ast_traits.rs Remove needless returns detected by clippy in the compiler 2024-09-09 13:32:22 +02:00
entry.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
format.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
lib.rs Add warn(unreachable_pub) to several crates. 2024-08-16 08:46:13 +10:00
mut_visit.rs Rollup merge of #133424 - Nadrieril:guard-patterns-parsing, r=fee1-dead 2024-12-08 17:18:50 +01:00
node_id.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
ptr.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
token.rs Prepare for invisible delimiters. 2024-11-21 08:22:11 +11:00
tokenstream.rs Introduce InvisibleOrigin on invisible delimiters. 2024-11-21 08:16:54 +11:00
visit.rs Rollup merge of #133424 - Nadrieril:guard-patterns-parsing, r=fee1-dead 2024-12-08 17:18:50 +01:00