We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da5f7f1 commit 1d02358Copy full SHA for 1d02358
compiler/rustc_typeck/src/astconv/generics.rs
@@ -82,7 +82,7 @@ impl<'o, 'tcx> dyn AstConv<'tcx> + 'o {
82
if param_type.is_suggestable() {
83
err.span_suggestion(
84
tcx.def_span(src_def_id),
85
- "consider changing this type paramater to a `const`-generic",
+ "consider changing this type parameter to a `const`-generic",
86
format!("const {}: {}", param_name, param_type),
87
Applicability::MaybeIncorrect,
88
);
0 commit comments