Skip to content

Commit c78679d

Browse files
committed
Fix panic strings.
- Fix panic string in `check_ast_crate`.
1 parent 61452e5 commit c78679d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/lint/context.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1046,7 +1046,7 @@ pub fn check_ast_crate(sess: &Session, krate: &ast::Crate) {
10461046
// calculated the lint levels for all AST nodes.
10471047
for (_id, lints) in cx.buffered.map {
10481048
for early_lint in lints {
1049-
span_bug!(early_lint.span, "failed to process bufferd lint here");
1049+
span_bug!(early_lint.span, "failed to process buffered lint here");
10501050
}
10511051
}
10521052
}

0 commit comments

Comments
 (0)