diff options
| author | bors <bors@rust-lang.org> | 2022-06-07 21:44:40 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-06-07 21:44:40 +0000 |
| commit | b17e9d76f2ad15022e0e69bc33745c4ef9025a8f (patch) | |
| tree | 20ee6da436e3350be3aad01c2a51c8977c11a399 /compiler/rustc_borrowck/src | |
| parent | 5435ed6916a59e8d5acba2149316a841c3905cbd (diff) | |
| parent | e7a1fbc486b459eb359039fbd9bf78626d60ee41 (diff) | |
| download | rust-b17e9d76f2ad15022e0e69bc33745c4ef9025a8f.tar.gz rust-b17e9d76f2ad15022e0e69bc33745c4ef9025a8f.zip | |
Auto merge of #97081 - oli-obk:outlives_query_fast_path, r=jackh726
Re-use the type op instead of calling the implied_outlives_bounds query directly r? `@ghost`
Diffstat (limited to 'compiler/rustc_borrowck/src')
| -rw-r--r-- | compiler/rustc_borrowck/src/type_check/free_region_relations.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_borrowck/src/type_check/free_region_relations.rs b/compiler/rustc_borrowck/src/type_check/free_region_relations.rs index 670b5549afc..813307356c4 100644 --- a/compiler/rustc_borrowck/src/type_check/free_region_relations.rs +++ b/compiler/rustc_borrowck/src/type_check/free_region_relations.rs @@ -334,8 +334,8 @@ impl<'tcx> UniversalRegionRelationsBuilder<'_, 'tcx> { /// either the return type of the MIR or one of its arguments. At /// the same time, compute and add any implied bounds that come /// from this local. + #[instrument(level = "debug", skip(self))] fn add_implied_bounds(&mut self, ty: Ty<'tcx>) -> Option<Rc<QueryRegionConstraints<'tcx>>> { - debug!("add_implied_bounds(ty={:?})", ty); let TypeOpOutput { output: bounds, constraints, .. } = self .param_env .and(type_op::implied_outlives_bounds::ImpliedOutlivesBounds { ty }) |
