about summary refs log tree commit diff
path: root/src/libsyntax_pos
diff options
context:
space:
mode:
authorDylan MacKenzie <ecstaticmorse@gmail.com>2019-09-18 10:27:31 -0700
committerDylan MacKenzie <ecstaticmorse@gmail.com>2019-11-21 14:19:59 -0800
commit365d1236890469cff1a55a28eeb9befaf516d552 (patch)
treee0c3fcba96bddd1d722b25db1a2338d9517984c1 /src/libsyntax_pos
parentc537f229009bcec23ac89132fd6f571acbc23c38 (diff)
downloadrust-365d1236890469cff1a55a28eeb9befaf516d552.tar.gz
rust-365d1236890469cff1a55a28eeb9befaf516d552.zip
Add feature gate for const `if` and `match`
Diffstat (limited to 'src/libsyntax_pos')
-rw-r--r--src/libsyntax_pos/symbol.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax_pos/symbol.rs b/src/libsyntax_pos/symbol.rs
index 979074f17c7..e7238caca8e 100644
--- a/src/libsyntax_pos/symbol.rs
+++ b/src/libsyntax_pos/symbol.rs
@@ -202,6 +202,7 @@ symbols! {
         const_fn,
         const_fn_union,
         const_generics,
+        const_if_match,
         const_indexing,
         const_in_array_repeat_expressions,
         const_let,