Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 943d3b1

Browse files
committedMay 27, 2024
Reduce some pub exposure.
1 parent 974a7f5 commit 943d3b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎compiler/rustc_lint/src/passes.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,5 +237,5 @@ macro_rules! declare_combined_early_lint_pass {
237237
}
238238

239239
/// A lint pass boxed up as a trait object.
240-
pub type EarlyLintPassObject = Box<dyn EarlyLintPass + 'static>;
241-
pub type LateLintPassObject<'tcx> = Box<dyn LateLintPass<'tcx> + 'tcx>;
240+
pub(crate) type EarlyLintPassObject = Box<dyn EarlyLintPass + 'static>;
241+
pub(crate) type LateLintPassObject<'tcx> = Box<dyn LateLintPass<'tcx> + 'tcx>;

0 commit comments

Comments
 (0)
Please sign in to comment.