about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMingwei Samuel <mingwei.samuel@gmail.com>2021-09-07 09:27:30 -0700
committerGitHub <noreply@github.com>2021-09-07 09:27:30 -0700
commitf8cbb1935cf6d641dc4ef7024b50a601e501d250 (patch)
tree678d147309b6108cb0af09618116fd2ee0b94331
parent73641cd23ba470c6b4dcd72b8d5f62d27c735254 (diff)
downloadrust-f8cbb1935cf6d641dc4ef7024b50a601e501d250.tar.gz
rust-f8cbb1935cf6d641dc4ef7024b50a601e501d250.zip
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")),