diff options
| author | bors <bors@rust-lang.org> | 2023-04-16 10:57:28 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-04-16 10:57:28 +0000 |
| commit | 1b50ea9abb65b33aac7285dbe36b37f9e33381a2 (patch) | |
| tree | 470812612f11875dc2c4c766273a787482ce9fe5 /compiler/rustc_trait_selection/src/traits/mod.rs | |
| parent | 18109d5032b0fd95ae81e30857a71e31e263044a (diff) | |
| parent | 7fb14ae84d927c54bcfea57f03ba38fd86326cb0 (diff) | |
| download | rust-1b50ea9abb65b33aac7285dbe36b37f9e33381a2.tar.gz rust-1b50ea9abb65b33aac7285dbe36b37f9e33381a2.zip | |
Auto merge of #110401 - fee1-dead-contrib:rollup-1f2smz2, r=fee1-dead
Rollup of 3 pull requests
Successful merges:
- #109665 (Remove `remap_env_constness` in queries)
- #110345 (Remove `TypeSuper{Foldable,Visitable}` impls for `Region`.)
- #110396 (Use lint via `lint_defs` instead of `lints`)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_trait_selection/src/traits/mod.rs')
| -rw-r--r-- | compiler/rustc_trait_selection/src/traits/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/mod.rs b/compiler/rustc_trait_selection/src/traits/mod.rs index 8a203dec86b..ed82b9c0152 100644 --- a/compiler/rustc_trait_selection/src/traits/mod.rs +++ b/compiler/rustc_trait_selection/src/traits/mod.rs @@ -450,7 +450,7 @@ fn is_impossible_method(tcx: TyCtxt<'_>, (impl_def_id, trait_item_def_id): (DefI { return ControlFlow::Break(()); } - r.super_visit_with(self) + ControlFlow::Continue(()) } fn visit_const(&mut self, ct: ty::Const<'tcx>) -> ControlFlow<Self::BreakTy> { if let ty::ConstKind::Param(param) = ct.kind() |
