Skip to content

Commit ac5bc7a

Browse files
committed
fix test
1 parent 4a7b3b7 commit ac5bc7a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/ui/lint_without_lint_pass.rs

+4
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ impl lint::LintPass for Pass {
2525
fn get_lints(&self) -> lint::LintArray {
2626
lint_array!(TEST_LINT_REGISTERED)
2727
}
28+
29+
fn name(&self) -> &'static str {
30+
"TEST_LINT"
31+
}
2832
}
2933

3034
fn main() {}

0 commit comments

Comments
 (0)