Skip to content

Commit 18ea9e9

Browse files
authored
Upgrade rust toolchain to 2023-09-07 (rust-lang#2743)
1 parent 1e3409d commit 18ea9e9

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

kani-compiler/src/codegen_cprover_gotoc/codegen/span.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -42,18 +42,6 @@ impl<'tcx> GotocCtx<'tcx> {
4242
self.current_fn().mir().var_debug_info.iter().find(|info| match info.value {
4343
VarDebugInfoContents::Place(p) => p.local == *l && p.projection.len() == 0,
4444
VarDebugInfoContents::Const(_) => false,
45-
// This variant was added in
46-
// https://github.com/rust-lang/rust/pull/102570 and is concerned
47-
// with a scalar replacement of aggregates (SROA) MIR optimization
48-
// that is only enabled with `--mir-opt-level=3` or higher.
49-
// TODO: create a test and figure out if we should return debug info
50-
// for this case:
51-
// https://github.com/model-checking/kani/issues/1933
52-
VarDebugInfoContents::Composite { .. } => {
53-
// Fail in debug mode to determine if we ever hit this case
54-
debug_assert!(false, "Unhandled VarDebugInfoContents::Composite");
55-
false
56-
}
5745
})
5846
}
5947
}

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-09-06"
5+
channel = "nightly-2023-09-07"
66
components = ["llvm-tools-preview", "rustc-dev", "rust-src", "rustfmt"]

0 commit comments

Comments
 (0)