diff options
| author | bors <bors@rust-lang.org> | 2024-03-04 08:07:34 +0000 | 
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-03-04 08:07:34 +0000 | 
| commit | 7606c13961ddc1174b70638e934df0439b7dc515 (patch) | |
| tree | 62e3886ae09a1fdf90bea03909cd170505421967 /compiler/rustc_hir_analysis/src | |
| parent | f7cb53e54b0f2a403c12c123b5583a8d0d3ba3fe (diff) | |
| parent | de95c39a782fd0c51b327c61e7864a5c9f874952 (diff) | |
| download | rust-7606c13961ddc1174b70638e934df0439b7dc515.tar.gz rust-7606c13961ddc1174b70638e934df0439b7dc515.zip | |
Auto merge of #121964 - matthiaskrgr:rollup-rtcju5m, r=matthiaskrgr
Rollup of 3 pull requests Successful merges: - #121130 (Suggest moving definition if non-found macro_rules! is defined later) - #121912 (Properly deal with GATs when looking for method chains to point at) - #121927 (Add a proper `with_no_queries` to printing) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_hir_analysis/src')
| -rw-r--r-- | compiler/rustc_hir_analysis/src/collect/item_bounds.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/compiler/rustc_hir_analysis/src/collect/item_bounds.rs b/compiler/rustc_hir_analysis/src/collect/item_bounds.rs index 39ca1bba065..78c390d0924 100644 --- a/compiler/rustc_hir_analysis/src/collect/item_bounds.rs +++ b/compiler/rustc_hir_analysis/src/collect/item_bounds.rs @@ -64,7 +64,7 @@ fn opaque_type_bounds<'tcx>( item_ty: Ty<'tcx>, span: Span, ) -> &'tcx [(ty::Clause<'tcx>, Span)] { - ty::print::with_no_queries!({ + ty::print::with_reduced_queries!({ let icx = ItemCtxt::new(tcx, opaque_def_id); let mut bounds = icx.astconv().compute_bounds(item_ty, ast_bounds, PredicateFilter::All); // Opaque types are implicitly sized unless a `?Sized` bound is found | 
