From dbd126901ac7d6ee886e0a234e630b1fbfec9afd Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Sun, 18 Jul 2021 03:34:50 +0200 Subject: Add feature gates for `for` and `?` in consts --- compiler/rustc_span/src/symbol.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'compiler/rustc_span/src') diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs index 114750d9b7b..295e53aba35 100644 --- a/compiler/rustc_span/src/symbol.rs +++ b/compiler/rustc_span/src/symbol.rs @@ -410,6 +410,7 @@ symbols! { const_fn_transmute, const_fn_union, const_fn_unsize, + const_for, const_format_args, const_generic_defaults, const_generics, @@ -432,6 +433,7 @@ symbols! { const_trait_bound_opt_out, const_trait_impl, const_transmute, + const_try, constant, constructor, contents, -- cgit 1.4.1-3-g733a5