Fix a typo in error message
This commit is contained in:
parent
db4b4d3bec
commit
696472a586
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue