Remove Sync
requirement from lint pass objects as they are created on demand
This commit is contained in:
parent
7a42ca942c
commit
74f2d582d2
1 changed files with 2 additions and 3 deletions
|
@ -243,6 +243,5 @@ macro_rules! declare_combined_early_lint_pass {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A lint pass boxed up as a trait object.
|
/// A lint pass boxed up as a trait object.
|
||||||
pub type EarlyLintPassObject = Box<dyn EarlyLintPass + sync::Send + sync::Sync + 'static>;
|
pub type EarlyLintPassObject = Box<dyn EarlyLintPass + sync::Send + 'static>;
|
||||||
pub type LateLintPassObject =
|
pub type LateLintPassObject = Box<dyn for<'tcx> LateLintPass<'tcx> + sync::Send + 'static>;
|
||||||
Box<dyn for<'tcx> LateLintPass<'tcx> + sync::Send + sync::Sync + 'static>;
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue