From 3cca4ceed833493b7ce18c825f14ddd927920e10 Mon Sep 17 00:00:00 2001 From: David Wood Date: Wed, 12 Jun 2019 07:56:07 +0100 Subject: syntax: Add feature gate. This commit adds a `const_in_array_repeat_expressions` feature gate and only create `Candidate::Repeat` if it is enabled. --- src/libsyntax_pos/symbol.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libsyntax_pos') diff --git a/src/libsyntax_pos/symbol.rs b/src/libsyntax_pos/symbol.rs index 89fcf3b1f8f..670e445a30b 100644 --- a/src/libsyntax_pos/symbol.rs +++ b/src/libsyntax_pos/symbol.rs @@ -199,6 +199,7 @@ symbols! { const_fn_union, const_generics, const_indexing, + const_in_array_repeat_expressions, const_let, const_panic, const_raw_ptr_deref, -- cgit 1.4.1-3-g733a5