Rollup merge of #88726 - MingweiSamuel:patch-1, r=wesleywiser

Fix typo in `const_generics` replaced with `adt_const_params` note
This commit is contained in:
Jack Huey
2021-09-08 12:24:22 -04:00
committed by GitHub
+1 -1
View File
@@ -104,7 +104,7 @@ macro_rules! declare_features {
(removed, quote, "1.33.0", Some(29601), None, None),
/// Allows const generic types (e.g. `struct Foo<const N: usize>(...);`).
(removed, const_generics, "1.34.0", Some(44580), None,
Some("removed in favor of `#![feature(adt_const_params]` and `#![feature(generic_const_exprs)]`")),
Some("removed in favor of `#![feature(adt_const_params)]` and `#![feature(generic_const_exprs)]`")),
/// 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")),