Skip to content

Commit 4e48cf6

Browse files
committed
Reduce some pub exposure.
1 parent 92b9270 commit 4e48cf6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/rustc_lint/src/passes.rs

+2-2
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)