]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_middle/src/query/mod.rs
Auto merge of #106998 - matthiaskrgr:rollup-hmfisji, r=matthiaskrgr
[rust.git] / compiler / rustc_middle / src / query / mod.rs
index b3acf815e0c10e931045db237c919ce7191d1acd..0ec6f481af1ffaf5642fabda3ce80cf9351921d1 100644 (file)
     /// ```
     ///
     /// 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) }
     }