Allow lint passes to be bound by TyCtxt
This commit is contained in:
@@ -244,4 +244,4 @@ macro_rules! declare_combined_early_lint_pass {
|
||||
|
||||
/// A lint pass boxed up as a trait object.
|
||||
pub type EarlyLintPassObject = Box<dyn EarlyLintPass + sync::Send + 'static>;
|
||||
pub type LateLintPassObject = Box<dyn for<'tcx> LateLintPass<'tcx> + sync::Send + 'static>;
|
||||
pub type LateLintPassObject<'tcx> = Box<dyn LateLintPass<'tcx> + sync::Send + 'tcx>;
|
||||
|
||||
Reference in New Issue
Block a user