File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -125,11 +125,11 @@ impl<'tcx> InferCtxt<'tcx> {
125125 }
126126
127127 ( ty:: Alias ( AliasKind :: Projection , _) , _) if self . tcx . trait_solver_next ( ) => {
128- relation. register_type_equate_obligation ( a. into ( ) , b. into ( ) ) ;
128+ relation. register_type_equate_obligation ( a, b) ;
129129 Ok ( b)
130130 }
131131 ( _, ty:: Alias ( AliasKind :: Projection , _) ) if self . tcx . trait_solver_next ( ) => {
132- relation. register_type_equate_obligation ( b. into ( ) , a. into ( ) ) ;
132+ relation. register_type_equate_obligation ( b, a) ;
133133 Ok ( a)
134134 }
135135
Original file line number Diff line number Diff line change @@ -47,8 +47,7 @@ fn has_back_edge(
4747 return false ;
4848 }
4949 // Check if any of the dominators of the node are also the node's successor.
50- doms. dominators ( node)
51- . any ( |dom| node_data. terminator ( ) . successors ( ) . into_iter ( ) . any ( |succ| succ == dom) )
50+ doms. dominators ( node) . any ( |dom| node_data. terminator ( ) . successors ( ) . any ( |succ| succ == dom) )
5251}
5352
5453fn insert_counter ( basic_block_data : & mut BasicBlockData < ' _ > ) {
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ fn external_generic_args<'tcx>(
129129 } ) ;
130130 GenericArgs :: Parenthesized { inputs, output }
131131 } else {
132- GenericArgs :: AngleBracketed { args : args. into ( ) , bindings : bindings . into ( ) }
132+ GenericArgs :: AngleBracketed { args : args. into ( ) , bindings }
133133 }
134134}
135135
You can’t perform that action at this time.
0 commit comments