Skip to content

Commit 51d133b

Browse files
authored
Merge pull request #21331 from rust-lang/rustc-pull
minor: Rustc pull update
2 parents be7d98a + 958d68c commit 51d133b

2 files changed

Lines changed: 3 additions & 3 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
}

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
f41f40408d719aa9ae0c6bfa17619d8f3f9e5b99
1+
e7d44143a12a526488e4f0c0d7ea8e62a4fe9354

0 commit comments

Comments
 (0)