diff options
| author | bors <bors@rust-lang.org> | 2022-08-29 22:49:04 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-08-29 22:49:04 +0000 |
| commit | 9f4d5d2a28849ec0ecb2976ddc9946f65b626fe8 (patch) | |
| tree | 659d6d0e27f56b1f2ff7e2a386c49e88899895de /compiler/rustc_lint/src | |
| parent | bc4b39c271bbd36736cbf1c0a1ac23d5df38d365 (diff) | |
| parent | bf42ba41a44dc9bd74b0e2abe2954ad0d818d3ed (diff) | |
| download | rust-9f4d5d2a28849ec0ecb2976ddc9946f65b626fe8.tar.gz rust-9f4d5d2a28849ec0ecb2976ddc9946f65b626fe8.zip | |
Auto merge of #101167 - matthiaskrgr:rollup-yt3jdmp, r=matthiaskrgr
Rollup of 7 pull requests Successful merges: - #100898 (Do not report too many expr field candidates) - #101056 (Add the syntax of references to their documentation summary.) - #101106 (Rustdoc-Json: Retain Stripped Modules when they are imported, not when they have items) - #101131 (CTFE: exposing pointers and calling extern fn is just impossible) - #101141 (Simplify `get_trait_ref` fn used for `virtual_function_elimination`) - #101146 (Various changes to logging of borrowck-related code) - #101156 (Remove `Sync` requirement from lint pass objects) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_lint/src')
| -rw-r--r-- | compiler/rustc_lint/src/passes.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/compiler/rustc_lint/src/passes.rs b/compiler/rustc_lint/src/passes.rs index 413f06a97a2..90c554c2e04 100644 --- a/compiler/rustc_lint/src/passes.rs +++ b/compiler/rustc_lint/src/passes.rs @@ -243,6 +243,5 @@ macro_rules! declare_combined_early_lint_pass { } /// A lint pass boxed up as a trait object. -pub type EarlyLintPassObject = Box<dyn EarlyLintPass + sync::Send + sync::Sync + 'static>; -pub type LateLintPassObject = - Box<dyn for<'tcx> LateLintPass<'tcx> + sync::Send + sync::Sync + 'static>; +pub type EarlyLintPassObject = Box<dyn EarlyLintPass + sync::Send + 'static>; +pub type LateLintPassObject = Box<dyn for<'tcx> LateLintPass<'tcx> + sync::Send + 'static>; |
