about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/mod.rs
diff options
context:
space:
mode:
authorLieselotte <52315535+she3py@users.noreply.github.com>2024-01-28 16:12:21 +0100
committerLieselotte <52315535+she3py@users.noreply.github.com>2024-01-28 16:12:21 +0100
commit6f014a81b2466c2abdae4c06ff81fae7e1bc006c (patch)
tree338c16a2576e619cc2d21a902423541a0d30b88a /compiler/rustc_parse/src/parser/mod.rs
parent635124704849eeead4e3a7bb6e663c5351571d93 (diff)
downloadrust-6f014a81b2466c2abdae4c06ff81fae7e1bc006c.tar.gz
rust-6f014a81b2466c2abdae4c06ff81fae7e1bc006c.zip
Handle methodcalls & operators in patterns
Diffstat (limited to 'compiler/rustc_parse/src/parser/mod.rs')
-rw-r--r--compiler/rustc_parse/src/parser/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_parse/src/parser/mod.rs b/compiler/rustc_parse/src/parser/mod.rs
index ff2fb6271a8..623407eb380 100644
--- a/compiler/rustc_parse/src/parser/mod.rs
+++ b/compiler/rustc_parse/src/parser/mod.rs
@@ -53,6 +53,7 @@ bitflags::bitflags! {
         const CONST_EXPR        = 1 << 2;
         const ALLOW_LET         = 1 << 3;
         const IN_IF_GUARD       = 1 << 4;
+        const IS_PAT            = 1 << 5;
     }
 }