Skip to content

Commit beb0c74

Browse files
committed
Combine all builtin early lints and use a separate walk for plugin lints. Add a -Z no-interleave-lints option to allow benchmarking lints
1 parent f001287 commit beb0c74

File tree

10 files changed

+551
-216
lines changed

10 files changed

+551
-216
lines changed

src/librustc/lint/builtin.rs

+4
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,10 @@ declare_lint! {
374374
pub struct HardwiredLints;
375375

376376
impl LintPass for HardwiredLints {
377+
fn name(&self) -> &'static str {
378+
"HardwiredLints"
379+
}
380+
377381
fn get_lints(&self) -> LintArray {
378382
lint_array!(
379383
ILLEGAL_FLOATING_POINT_LITERAL_PATTERN,

0 commit comments

Comments
 (0)