File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -191,6 +191,7 @@ rustc_queries! {
191191 {
192192 desc { "determine whether the opaque is a type-alias impl trait" }
193193 separate_provide_extern
194+ feedable
194195 }
195196
196197 query unsizing_params_for_adt( key: DefId ) -> & ' tcx rustc_index:: bit_set:: BitSet <u32 >
Original file line number Diff line number Diff line change @@ -289,6 +289,8 @@ fn associated_item_for_impl_trait_in_trait(
289289 InternalSubsts :: identity_for_item ( tcx, opaque_ty_def_id. to_def_id ( ) ) ,
290290 ) ) ) ;
291291
292+ trait_assoc_ty. is_type_alias_impl_trait ( false ) ;
293+
292294 // Copy generics_of of the opaque type item but the trait is the parent.
293295 trait_assoc_ty. generics_of ( {
294296 let opaque_ty_generics = tcx. generics_of ( opaque_ty_def_id) ;
You can’t perform that action at this time.
0 commit comments