]> git.lizzy.rs Git - rust.git/commitdiff
Fix panic strings.
authorDan Robertson <dan.robertson@anidata.org>
Wed, 10 Jan 2018 03:07:33 +0000 (03:07 +0000)
committerDan Robertson <dan.robertson@anidata.org>
Wed, 10 Jan 2018 21:39:21 +0000 (21:39 +0000)
 - Fix panic string in `check_ast_crate`.

src/librustc/lint/context.rs

index 32ab458cb91de4a849f389a9507acc301a331d77..5336c1944e8c4d905f66c5928574b5c832cbeafd 100644 (file)
@@ -1046,7 +1046,7 @@ pub fn check_ast_crate(sess: &Session, krate: &ast::Crate) {
     // calculated the lint levels for all AST nodes.
     for (_id, lints) in cx.buffered.map {
         for early_lint in lints {
-            span_bug!(early_lint.span, "failed to process bufferd lint here");
+            span_bug!(early_lint.span, "failed to process buffered lint here");
         }
     }
 }