about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
authorSantiago Pastorino <spastorino@gmail.com>2023-03-03 12:41:22 -0300
committerSantiago Pastorino <spastorino@gmail.com>2023-03-06 14:49:50 -0300
commit34ca2dc0915e90f3ce170b0bb87d36127b127c36 (patch)
tree75cde959f63cc3ed7072ed05ec1039dd90b36f67 /compiler
parent31a0d6721b540f5613b1ac1ec2568f245fd00b06 (diff)
downloadrust-34ca2dc0915e90f3ce170b0bb87d36127b127c36.tar.gz
rust-34ca2dc0915e90f3ce170b0bb87d36127b127c36.zip
Implement inferred_outlives_of for impl side RPITITs assoc type
Diffstat (limited to 'compiler')
-rw-r--r--compiler/rustc_ty_utils/src/assoc.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_ty_utils/src/assoc.rs b/compiler/rustc_ty_utils/src/assoc.rs
index b08c7c365da..e0f569dc68a 100644
--- a/compiler/rustc_ty_utils/src/assoc.rs
+++ b/compiler/rustc_ty_utils/src/assoc.rs
@@ -388,5 +388,8 @@ fn impl_associated_item_for_impl_trait_in_trait(
         predicates: &[],
     });
 
+    // There are no inferred outlives for the synthesized associated type.
+    impl_assoc_ty.inferred_outlives_of(&[]);
+
     local_def_id
 }