rust/compiler/rustc_parse/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
..
lexer Only error raw lifetime followed by \' in edition 2021+ 2024-12-01 05:23:16 +00:00
parser Rollup merge of #133424 - Nadrieril:guard-patterns-parsing, r=fee1-dead 2024-12-08 17:18:50 +01:00
errors.rs Fix suggestion when shorthand self has erroneous type 2024-12-04 19:52:53 +00:00
lib.rs Rename NestedMetaItem to MetaItemInner 2024-10-06 23:28:30 +09:00
validate_attr.rs Change AttrArgs::Eq into a struct variant 2024-12-02 10:28:58 +00:00