Skip to content

Commit 34ca2dc

Browse files
committed
Implement inferred_outlives_of for impl side RPITITs assoc type
1 parent 31a0d67 commit 34ca2dc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

compiler/rustc_ty_utils/src/assoc.rs

+3
Original file line numberDiff line numberDiff line change
@@ -388,5 +388,8 @@ fn impl_associated_item_for_impl_trait_in_trait(
388388
predicates: &[],
389389
});
390390

391+
// There are no inferred outlives for the synthesized associated type.
392+
impl_assoc_ty.inferred_outlives_of(&[]);
393+
391394
local_def_id
392395
}

0 commit comments

Comments
 (0)