Skip to content

Commit

Permalink
Reduce some pub exposure.
Browse files Browse the repository at this point in the history
  • Loading branch information
nnethercote committed May 27, 2024
1 parent 974a7f5 commit 943d3b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/rustc_lint/src/passes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,5 +237,5 @@ macro_rules! declare_combined_early_lint_pass {
}

/// 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>;

0 comments on commit 943d3b1

Please sign in to comment.