From c78679db08264f1fc9aac3841242648600a0cc6f Mon Sep 17 00:00:00 2001 From: Dan Robertson Date: Wed, 10 Jan 2018 03:07:33 +0000 Subject: [PATCH] Fix panic strings. - Fix panic string in `check_ast_crate`. --- src/librustc/lint/context.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc/lint/context.rs b/src/librustc/lint/context.rs index 32ab458cb91..5336c1944e8 100644 --- a/src/librustc/lint/context.rs +++ b/src/librustc/lint/context.rs @@ -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"); } } }