rust/compiler/rustc_parse/src/parser
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
..
mut_visit Reformat use declarations. 2024-07-29 08:26:52 +10:00
tokenstream Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
attr_wrapper.rs Introduce InvisibleOrigin on invisible delimiters. 2024-11-21 08:16:54 +11:00
attr.rs Rename NestedMetaItem to MetaItemInner 2024-10-06 23:28:30 +09:00
diagnostics.rs Improve span handling in parse_expr_bottom. 2024-11-28 17:01:50 +11:00
expr.rs Rollup merge of #133424 - Nadrieril:guard-patterns-parsing, r=fee1-dead 2024-12-08 17:18:50 +01:00
generics.rs Refactor where predicates, and reserve for attributes support 2024-11-25 16:38:35 +08:00
item.rs Fix suggestion when shorthand self has erroneous type 2024-12-04 19:52:53 +00:00
mod.rs Change AttrArgs::Eq into a struct variant 2024-12-02 10:28:58 +00:00
nonterminal.rs refactor pat parser method names/doc-comments to agree with RFC 3637 2024-11-24 18:08:20 +01:00
pat.rs Rollup merge of #133424 - Nadrieril:guard-patterns-parsing, r=fee1-dead 2024-12-08 17:18:50 +01:00
path.rs parse guard patterns 2024-11-24 19:42:33 +01:00
stmt.rs Eliminate precedence arithmetic from rustc_parse 2024-11-30 17:53:39 -08:00
tests.rs Add Unicode block-drawing compiler output support 2024-11-10 23:57:18 +01:00
ty.rs Rollup merge of #133545 - clubby789:symbol-intern-lit, r=jieyouxu 2024-12-03 17:27:06 +01:00