Skip to content

Commit

Permalink
Fix a typo in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
steffahn committed Sep 21, 2022
1 parent db4b4d3 commit 696472a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_resolve/src/late/diagnostics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ impl<'a: 'ast, 'ast> LateResolutionVisitor<'a, '_, 'ast> {
span,
span_label: match res {
Res::Def(kind, def_id) if kind == DefKind::TyParam => {
self.def_span(def_id).map(|span| (span, "found this type pararmeter"))
self.def_span(def_id).map(|span| (span, "found this type parameter"))
}
_ => None,
},
Expand Down

0 comments on commit 696472a

Please sign in to comment.