Skip to content

Commit 696472a

Browse files
committed
Fix a typo in error message
1 parent db4b4d3 commit 696472a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_resolve/src/late/diagnostics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ impl<'a: 'ast, 'ast> LateResolutionVisitor<'a, '_, 'ast> {
173173
span,
174174
span_label: match res {
175175
Res::Def(kind, def_id) if kind == DefKind::TyParam => {
176-
self.def_span(def_id).map(|span| (span, "found this type pararmeter"))
176+
self.def_span(def_id).map(|span| (span, "found this type parameter"))
177177
}
178178
_ => None,
179179
},

0 commit comments

Comments
 (0)