Fix panic strings.

- Fix panic string in `check_ast_crate`.
This commit is contained in:
Dan Robertson 2018-01-10 03:07:33 +00:00
parent 61452e506f
commit c78679db08
No known key found for this signature in database
GPG Key ID: 45C4A652C47E42A5

View 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");
}
}
}