This commit is contained in:
Henry Boisdequin 2021-01-29 16:08:49 +05:30
parent c2c2e8dde1
commit fd5fb86f05
1 changed files with 1 additions and 1 deletions

View File

@ -977,7 +977,7 @@ impl<'a> Resolver<'a> {
});
if let Some(def_span) = def_span {
if span.overlaps(def_span) {
// Don't suggest typo suggestion for itself like in the followoing:
// Don't suggest typo suggestion for itself like in the following:
// error[E0423]: expected function, tuple struct or tuple variant, found struct `X`
// --> $DIR/issue-64792-bad-unicode-ctor.rs:3:14
// |