File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2624,7 +2624,7 @@ impl SelfParam {
26242624 let callable_sig =
26252625 db. callable_item_signature ( self . func . into ( ) ) . instantiate_identity ( ) . skip_binder ( ) ;
26262626 let environment = param_env_from_has_crate ( db, self . func ) ;
2627- let ty = callable_sig. inputs ( ) . as_slice ( ) [ 0 ] ;
2627+ let ty = rustc_type_ir :: inherent :: SliceLike :: as_slice ( & callable_sig. inputs ( ) ) [ 0 ] ;
26282628 Type { env : environment, ty }
26292629 }
26302630
@@ -2639,7 +2639,7 @@ impl SelfParam {
26392639 let callable_sig =
26402640 db. callable_item_signature ( self . func . into ( ) ) . instantiate ( interner, args) . skip_binder ( ) ;
26412641 let environment = param_env_from_has_crate ( db, self . func ) ;
2642- let ty = callable_sig. inputs ( ) . as_slice ( ) [ 0 ] ;
2642+ let ty = rustc_type_ir :: inherent :: SliceLike :: as_slice ( & callable_sig. inputs ( ) ) [ 0 ] ;
26432643 Type { env : environment, ty }
26442644 }
26452645}
Original file line number Diff line number Diff line change 1- f41f40408d719aa9ae0c6bfa17619d8f3f9e5b99
1+ e7d44143a12a526488e4f0c0d7ea8e62a4fe9354
You can’t perform that action at this time.
0 commit comments