about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJack Huey <31162821+jackh726@users.noreply.github.com>2021-09-08 12:24:22 -0400
committerGitHub <noreply@github.com>2021-09-08 12:24:22 -0400
commit4cb751e1f4ea6b9925e9be8984851f01d0003e30 (patch)
treed54ceba095ccad99db82466854201635442cea25
parentbd6ce72ecea338df3de01d5d31f3693044796df0 (diff)
parentf8cbb1935cf6d641dc4ef7024b50a601e501d250 (diff)
downloadrust-4cb751e1f4ea6b9925e9be8984851f01d0003e30.tar.gz
rust-4cb751e1f4ea6b9925e9be8984851f01d0003e30.zip
Rollup merge of #88726 - MingweiSamuel:patch-1, r=wesleywiser
Fix typo in `const_generics` replaced with `adt_const_params` note
-rw-r--r--compiler/rustc_feature/src/removed.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_feature/src/removed.rs b/compiler/rustc_feature/src/removed.rs
index 8e498a5446e..efab0200ff5 100644
--- a/compiler/rustc_feature/src/removed.rs
+++ b/compiler/rustc_feature/src/removed.rs
@@ -104,7 +104,7 @@ 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")),