]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_resolve/lib.rs
Rollup merge of #68266 - Stromberg90:patch-2, r=Dylan-DPC
[rust.git] / src / librustc_resolve / lib.rs
index 8e4630cf7d69641cac65ad7031e8307037b9123b..8d5afb194a17500ce953e892931a06538dc388a9 100644 (file)
@@ -2006,7 +2006,7 @@ fn resolve_path_with_ribs(
                             continue;
                         }
                     }
-                    let msg = "there are too many initial `super`s.".to_string();
+                    let msg = "there are too many leading `super` keywords".to_string();
                     return PathResult::Failed {
                         span: ident.span,
                         label: msg,