Skip to content

Commit d5e9a1c

Browse files
authored
Update the rust toolchain to nightly-2023-11-27 (#2897)
Changes required due to: - rust-lang/rust#118256 - rust-lang/rust#118138
1 parent 071dc41 commit d5e9a1c

File tree

17 files changed

+18
-18
lines changed

17 files changed

+18
-18
lines changed

kani-compiler/src/kani_middle/resolve.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ fn resolve_prefix<'tcx>(
190190
CRATE => {
191191
segments.next();
192192
// Find the module at the root of the crate.
193-
let current_module_hir_id = tcx.hir().local_def_id_to_hir_id(current_module);
193+
let current_module_hir_id = tcx.local_def_id_to_hir_id(current_module);
194194
let crate_root = match tcx.hir().parent_iter(current_module_hir_id).last() {
195195
None => current_module,
196196
Some((hir_id, _)) => hir_id.owner.def_id,
@@ -229,7 +229,7 @@ fn resolve_super<'tcx, I>(
229229
where
230230
I: Iterator<Item = String>,
231231
{
232-
let current_module_hir_id = tcx.hir().local_def_id_to_hir_id(current_module);
232+
let current_module_hir_id = tcx.local_def_id_to_hir_id(current_module);
233233
let mut parents = tcx.hir().parent_iter(current_module_hir_id);
234234
let mut base_module = current_module;
235235
while segments.next_if(|segment| segment == SUPER).is_some() {

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
# SPDX-License-Identifier: Apache-2.0 OR MIT
33

44
[toolchain]
5-
channel = "nightly-2023-11-22"
5+
channel = "nightly-2023-11-27"
66
components = ["llvm-tools-preview", "rustc-dev", "rust-src", "rustfmt"]

tests/expected/intrinsics/ctpop-ice/expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ error: Type check failed for intrinsic `ctpop`: Expected integer type, found ()
33
12 | let n = ctpop(());
44
| ^^^^^^^^^
55

6-
error: aborting due to previous error
6+
error: aborting due to 1 previous error
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
expected return type with length 2 (same as input type `u64x2`), found `u32x4` with length 4
2-
error: aborting due to previous error
2+
error: aborting due to 1 previous error
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
expected return type `i64` (element of input `i64x2`), found `i32`
2-
error: aborting due to previous error
2+
error: aborting due to 1 previous error
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
expected inserted type `i64` (element of input `i64x2`), found `i32`
2-
error: aborting due to previous error
2+
error: aborting due to 1 previous error
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
expected return type with integer elements, found `f32x2` with non-integer `f32`
2-
error: aborting due to previous error
2+
error: aborting due to 1 previous error
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
expected return type of length 4, found `i64x2` with length 2
2-
error: aborting due to previous error
2+
error: aborting due to 1 previous error
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
expected return element type `i64` (element of input `i64x2`), found `f64x2` with element type `f64`
2-
error: aborting due to previous error
2+
error: aborting due to 1 previous error
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
error: 1 positional argument in format string, but no arguments were given
2-
error: aborting due to previous error
2+
error: aborting due to 1 previous error

0 commit comments

Comments
 (0)