File tree 1 file changed +4
-3
lines changed
compiler/rustc_middle/src/ty
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -2210,16 +2210,17 @@ impl<'tcx> TyCtxt<'tcx> {
2210
2210
if ts. is_empty ( ) { List :: empty ( ) } else { self . _intern_bound_variable_kinds ( ts) }
2211
2211
}
2212
2212
2213
- pub fn mk_fn_sig < I > (
2213
+ pub fn mk_fn_sig < I , T > (
2214
2214
self ,
2215
2215
inputs : I ,
2216
2216
output : I :: Item ,
2217
2217
c_variadic : bool ,
2218
2218
unsafety : hir:: Unsafety ,
2219
2219
abi : abi:: Abi ,
2220
- ) -> < I :: Item as InternIteratorElement < Ty < ' tcx > , ty :: FnSig < ' tcx > > > :: Output
2220
+ ) -> T :: Output
2221
2221
where
2222
- I : Iterator < Item : InternIteratorElement < Ty < ' tcx > , ty:: FnSig < ' tcx > > > ,
2222
+ I : Iterator < Item = T > ,
2223
+ T : InternIteratorElement < Ty < ' tcx > , ty:: FnSig < ' tcx > > ,
2223
2224
{
2224
2225
inputs. chain ( iter:: once ( output) ) . intern_with ( |xs| ty:: FnSig {
2225
2226
inputs_and_output : self . intern_type_list ( xs) ,
You can’t perform that action at this time.
0 commit comments