We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
pub
1 parent 92b9270 commit 4e48cf6Copy full SHA for 4e48cf6
compiler/rustc_lint/src/passes.rs
@@ -237,5 +237,5 @@ macro_rules! declare_combined_early_lint_pass {
237
}
238
239
/// 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>;
+pub(crate) type EarlyLintPassObject = Box<dyn EarlyLintPass + 'static>;
+pub(crate) type LateLintPassObject<'tcx> = Box<dyn LateLintPass<'tcx> + 'tcx>;
0 commit comments