Skip to content

Commit fd5fb86

Browse files
fix typo
1 parent c2c2e8d commit fd5fb86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_resolve/src/diagnostics.rs

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

0 commit comments

Comments
 (0)