Allow lint passes to be bound by TyCtxt
This commit is contained in:
parent
a594044533
commit
0126f7f3a9
10 changed files with 274 additions and 246 deletions
|
@ -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>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue