Skip to content

Commit f8cbb19

Browse files
Fix typo in const_generics replaced with adt_const_params note
1 parent 73641cd commit f8cbb19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_feature/src/removed.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ declare_features! (
104104
(removed, quote, "1.33.0", Some(29601), None, None),
105105
/// Allows const generic types (e.g. `struct Foo<const N: usize>(...);`).
106106
(removed, const_generics, "1.34.0", Some(44580), None,
107-
Some("removed in favor of `#![feature(adt_const_params]` and `#![feature(generic_const_exprs)]`")),
107+
Some("removed in favor of `#![feature(adt_const_params)]` and `#![feature(generic_const_exprs)]`")),
108108
/// Allows `[x; N]` where `x` is a constant (RFC 2203).
109109
(removed, const_in_array_repeat_expressions, "1.37.0", Some(49147), None,
110110
Some("removed due to causing promotable bugs")),

0 commit comments

Comments
 (0)