diff options
| author | Santiago Pastorino <spastorino@gmail.com> | 2023-03-03 12:41:22 -0300 |
|---|---|---|
| committer | Santiago Pastorino <spastorino@gmail.com> | 2023-03-06 14:49:50 -0300 |
| commit | 34ca2dc0915e90f3ce170b0bb87d36127b127c36 (patch) | |
| tree | 75cde959f63cc3ed7072ed05ec1039dd90b36f67 /compiler | |
| parent | 31a0d6721b540f5613b1ac1ec2568f245fd00b06 (diff) | |
| download | rust-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.rs | 3 |
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 } |
