diff options
| author | bors <bors@rust-lang.org> | 2023-01-10 03:26:29 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-01-10 03:26:29 +0000 |
| commit | deba5ddd0776108c51a69844d0ffe3f96886dd52 (patch) | |
| tree | fd0f493b3efc585f9779903c7451d10a016a958b /compiler/rustc_trait_selection/src | |
| parent | d53924d8c7046aee91c7f83bf4c9c788c2406a7d (diff) | |
| parent | ed840a6c3b953c54e221951910bb33b351bec145 (diff) | |
| download | rust-deba5ddd0776108c51a69844d0ffe3f96886dd52.tar.gz rust-deba5ddd0776108c51a69844d0ffe3f96886dd52.zip | |
Auto merge of #106656 - JohnTitor:rollup-rk2qltg, r=JohnTitor
Rollup of 9 pull requests Successful merges: - #105034 (Add example for iterator_flatten) - #105708 (Enable atomic cas for bpf targets) - #106175 (Fix bad import suggestion with nested `use` tree) - #106204 (No need to take opaques in `check_type_bounds`) - #106387 (Revert "bootstrap: Get rid of `tail_args` in `stream_cargo`") - #106636 (Accept old spelling of Fuchsia target triples) - #106639 (update Miri) - #106640 (update test for inductive canonical cycles) - #106647 (rustdoc: merge common CSS for `a`) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_trait_selection/src')
| -rw-r--r-- | compiler/rustc_trait_selection/src/traits/mod.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/mod.rs b/compiler/rustc_trait_selection/src/traits/mod.rs index 2bab380dba0..37b40a2f75a 100644 --- a/compiler/rustc_trait_selection/src/traits/mod.rs +++ b/compiler/rustc_trait_selection/src/traits/mod.rs @@ -450,9 +450,6 @@ pub fn impossible_predicates<'tcx>( } let errors = ocx.select_all_or_error(); - // Clean up after ourselves - let _ = infcx.inner.borrow_mut().opaque_type_storage.take_opaque_types(); - let result = !errors.is_empty(); debug!("impossible_predicates = {:?}", result); result |
