Skip to content

Commit 11a315a

Browse files
committed
Implement inferred_outlives_of for impl side RPITITs assoc type
1 parent 31cfcc0 commit 11a315a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

compiler/rustc_ty_utils/src/assoc.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,5 +386,8 @@ fn impl_associated_item_for_impl_trait_in_trait(
386386
predicates: &[],
387387
});
388388

389+
// There are no inferred outlives for the synthesized associated type.
390+
impl_assoc_ty.inferred_outlives_of(&[]);
391+
389392
local_def_id
390393
}

0 commit comments

Comments
 (0)