Skip to content

Commit 44a44e5

Browse files
authored
Upgrade toolchain to nightly-2025-03-12 (#3933)
Changes required due to - rust-lang/rust#137977: Reduce `kw::Empty` usage, part 1 Resolves: #3932 By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.
1 parent ad996ac commit 44a44e5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

kani-compiler/src/codegen_aeneas_llbc/mir_to_ullbc/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,7 @@ impl<'a, 'tcx> Context<'a, 'tcx> {
813813
let disambiguator = CharonDisambiguator::new(data.disambiguator as usize);
814814
use rustc_hir::definitions::DefPathData;
815815
match &data.data {
816-
DefPathData::TypeNs(symbol) => {
816+
DefPathData::TypeNs(Some(symbol)) => {
817817
error_assert!(self, span, data.disambiguator == 0); // Sanity check
818818
name.push(CharonPathElem::Ident(symbol.to_string(), disambiguator));
819819
}
@@ -956,7 +956,7 @@ impl<'a, 'tcx> Context<'a, 'tcx> {
956956
let disambiguator = CharonDisambiguator::new(data.disambiguator as usize);
957957
use rustc_hir::definitions::DefPathData;
958958
match &data.data {
959-
DefPathData::TypeNs(symbol) => {
959+
DefPathData::TypeNs(Some(symbol)) => {
960960
error_assert!(self, span, data.disambiguator == 0); // Sanity check
961961
name.push(CharonPathElem::Ident(symbol.to_string(), disambiguator));
962962
}
@@ -1063,7 +1063,7 @@ impl<'a, 'tcx> Context<'a, 'tcx> {
10631063
let disambiguator = CharonDisambiguator::new(data.disambiguator as usize);
10641064
use rustc_hir::definitions::DefPathData;
10651065
match &data.data {
1066-
DefPathData::TypeNs(symbol) => {
1066+
DefPathData::TypeNs(Some(symbol)) => {
10671067
error_assert!(self, span, data.disambiguator == 0); // Sanity check
10681068
name.push(CharonPathElem::Ident(symbol.to_string(), disambiguator));
10691069
}

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-2025-03-07"
5+
channel = "nightly-2025-03-12"
66
components = ["llvm-tools", "rustc-dev", "rust-src", "rustfmt"]

0 commit comments

Comments
 (0)