Skip to content

Commit 05dbba2

Browse files
authored
Upgrade Rust toolchain to 2025-11-03 (#4440)
Relevant upstream PR: - rust-lang/rust#148165 (Use `mut` less in dataflow analysis) Resolves: #4439 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 e6d3722 commit 05dbba2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

kani-compiler/src/kani_middle/points_to/points_to_analysis.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ impl<'tcx> Analysis<'tcx> for PointsToAnalysis<'_, 'tcx> {
137137
/// Update current dataflow state based on the information we can infer from the given
138138
/// statement.
139139
fn apply_primary_statement_effect(
140-
&mut self,
140+
&self,
141141
state: &mut Self::Domain,
142142
statement: &Statement<'tcx>,
143143
_location: Location,
@@ -184,7 +184,7 @@ impl<'tcx> Analysis<'tcx> for PointsToAnalysis<'_, 'tcx> {
184184
}
185185

186186
fn apply_primary_terminator_effect<'mir>(
187-
&mut self,
187+
&self,
188188
state: &mut Self::Domain,
189189
terminator: &'mir Terminator<'tcx>,
190190
location: Location,
@@ -337,7 +337,7 @@ impl<'tcx> Analysis<'tcx> for PointsToAnalysis<'_, 'tcx> {
337337

338338
/// We don't care about this and just need to implement this to implement the trait.
339339
fn apply_call_return_effect(
340-
&mut self,
340+
&self,
341341
_state: &mut Self::Domain,
342342
_block: BasicBlock,
343343
_return_places: CallReturnPlaces<'_, 'tcx>,
@@ -429,7 +429,7 @@ impl<'tcx> PointsToAnalysis<'_, 'tcx> {
429429

430430
/// Update the analysis state according to the regular function call.
431431
fn apply_regular_call_effect(
432-
&mut self,
432+
&self,
433433
state: &mut PointsToGraph<'tcx>,
434434
instance: Instance<'tcx>,
435435
args: &[Spanned<Operand<'tcx>>],

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

0 commit comments

Comments
 (0)