]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_feature/src/removed.rs
Remove const_in_array_rep_expr
[rust.git] / compiler / rustc_feature / src / removed.rs
index 07bd1602cda325af18b5c5266af147d85befc9e1..38a3a4e3d4411275fe060e681570ba34d184047c 100644 (file)
@@ -97,6 +97,9 @@ macro_rules! declare_features {
     (removed, extern_in_paths, "1.33.0", Some(55600), None,
      Some("subsumed by `::foo::bar` paths")),
     (removed, quote, "1.33.0", Some(29601), None, None),
+    /// Allows `[x; N]` where `x` is a constant (RFC 2203).
+    (removed, const_in_array_repeat_expressions,  "1.37.0", Some(49147), None,
+     Some("removed due to causing promotable bugs")),
     /// Allows using `#[unsafe_destructor_blind_to_params]` (RFC 1238).
     (removed, dropck_parametricity, "1.38.0", Some(28498), None, None),
     (removed, await_macro, "1.38.0", Some(50547), None,