Skip to content

Commit d16129b

Browse files
committed
Auto merge of #28349 - nrc:ast-lints, r=manishearth
r? @nikomatsakis, f? @Manishearth
2 parents 151ffa4 + ed61a64 commit d16129b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+792
-434
lines changed

src/librustc/lint/builtin.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
//! compiler code, rather than using their own custom pass. Those
1515
//! lints are all available in `rustc_lint::builtin`.
1616
17-
use lint::{LintPass, LintArray};
17+
use lint::{LintPass, LateLintPass, LintArray};
1818

1919
declare_lint! {
2020
pub UNUSED_IMPORTS,
@@ -138,3 +138,5 @@ impl LintPass for HardwiredLints {
138138
)
139139
}
140140
}
141+
142+
impl LateLintPass for HardwiredLints {}

0 commit comments

Comments
 (0)