Skip to content

Commit ccd428b

Browse files
committed
Auto merge of #57726 - Zoxc:combine-early-lints, r=estebank
Combine all builtin early lints This also adds a -Z no-interleave-lints option to allow benchmarking lints. r? @estebank
2 parents f95834b + 9b5535a commit ccd428b

File tree

17 files changed

+579
-216
lines changed

17 files changed

+579
-216
lines changed

src/librustc/lint/builtin.rs

+4
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,10 @@ declare_lint! {
380380
pub struct HardwiredLints;
381381

382382
impl LintPass for HardwiredLints {
383+
fn name(&self) -> &'static str {
384+
"HardwiredLints"
385+
}
386+
383387
fn get_lints(&self) -> LintArray {
384388
lint_array!(
385389
ILLEGAL_FLOATING_POINT_LITERAL_PATTERN,

0 commit comments

Comments
 (0)