diff options
| author | Kyle Matsuda <kyle.yoshio.matsuda@gmail.com> | 2023-01-16 15:07:23 -0700 |
|---|---|---|
| committer | Kyle Matsuda <kyle.yoshio.matsuda@gmail.com> | 2023-01-17 08:55:28 -0700 |
| commit | fc942eed7fc0c8f08ff223a72a3583b93aadea99 (patch) | |
| tree | 75f62a1435c42e32bb67474a4ebf051c07cef128 /compiler/rustc_middle/src/query | |
| parent | 85eeaa99652973a779ac8d1ed4394d1b150527f1 (diff) | |
| download | rust-fc942eed7fc0c8f08ff223a72a3583b93aadea99.tar.gz rust-fc942eed7fc0c8f08ff223a72a3583b93aadea99.zip | |
change item_bounds query to return EarlyBinder; remove bound_item_bounds query
Diffstat (limited to 'compiler/rustc_middle/src/query')
| -rw-r--r-- | compiler/rustc_middle/src/query/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/query/mod.rs b/compiler/rustc_middle/src/query/mod.rs index b3acf815e0c..0ec6f481af1 100644 --- a/compiler/rustc_middle/src/query/mod.rs +++ b/compiler/rustc_middle/src/query/mod.rs @@ -272,7 +272,7 @@ rustc_queries! { /// ``` /// /// Bounds from the parent (e.g. with nested impl trait) are not included. - query item_bounds(key: DefId) -> &'tcx ty::List<ty::Predicate<'tcx>> { + query item_bounds(key: DefId) -> ty::EarlyBinder<&'tcx ty::List<ty::Predicate<'tcx>>> { desc { |tcx| "elaborating item bounds for `{}`", tcx.def_path_str(key) } } |
