about summary refs log tree commit diff
diff options
context:
space:
mode:
authorHenry Boisdequin <65845077+henryboisdequin@users.noreply.github.com>2021-01-29 16:08:49 +0530
committerHenry Boisdequin <65845077+henryboisdequin@users.noreply.github.com>2021-01-29 16:08:49 +0530
commitfd5fb86f05ac7d8f561c2177a5d3e5c80c93dfc7 (patch)
tree2348f70671794c6276a9bc76f6650068b858e75f
parentc2c2e8dde16c75eaa75a5d6796ded4813315df58 (diff)
downloadrust-fd5fb86f05ac7d8f561c2177a5d3e5c80c93dfc7.tar.gz
rust-fd5fb86f05ac7d8f561c2177a5d3e5c80c93dfc7.zip
fix typo
-rw-r--r--compiler/rustc_resolve/src/diagnostics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_resolve/src/diagnostics.rs b/compiler/rustc_resolve/src/diagnostics.rs
index 69fb6870d2c..9d55bafd286 100644
--- a/compiler/rustc_resolve/src/diagnostics.rs
+++ b/compiler/rustc_resolve/src/diagnostics.rs
@@ -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
                 //    |