Reduce some pub
exposure.
This commit is contained in:
parent
22ca74f2b0
commit
d070e89230
@ -237,5 +237,5 @@ fn name(&self) -> &'static str {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// A lint pass boxed up as a trait object.
|
/// A lint pass boxed up as a trait object.
|
||||||
pub type EarlyLintPassObject = Box<dyn EarlyLintPass + 'static>;
|
pub(crate) type EarlyLintPassObject = Box<dyn EarlyLintPass + 'static>;
|
||||||
pub type LateLintPassObject<'tcx> = Box<dyn LateLintPass<'tcx> + 'tcx>;
|
pub(crate) type LateLintPassObject<'tcx> = Box<dyn LateLintPass<'tcx> + 'tcx>;
|
||||||
|
Loading…
Reference in New Issue
Block a user