Reduce some pub exposure.

This commit is contained in:
Nicholas Nethercote 2024-05-08 10:04:26 +10:00
parent 22ca74f2b0
commit d070e89230

View File

@ -237,5 +237,5 @@ fn name(&self) -> &'static str {
}
/// A lint pass boxed up as a trait object.
pub type EarlyLintPassObject = Box<dyn EarlyLintPass + 'static>;
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>;