Skip to content

Commit 958d68c

Browse files
author
The rustc-josh-sync Cronjob Bot
committed
Merge ref 'e7d44143a12a' from rust-lang/rust
Pull recent changes from https://github.com/rust-lang/rust via Josh. Upstream ref: e7d44143a12a526488e4f0c0d7ea8e62a4fe9354 Filtered ref: fe2cf3f Upstream diff: rust-lang/rust@f41f404...e7d4414 This merge was created using https://github.com/rust-lang/josh-sync.
2 parents 3147855 + fe2cf3f commit 958d68c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

crates/hir/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)