Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ impl GotocCtx<'_> {
}
}
}
AggregateKind::Coroutine(_, _, _) => self.codegen_rvalue_coroutine(operands, res_ty),
AggregateKind::Coroutine(_, _) => self.codegen_rvalue_coroutine(operands, res_ty),
AggregateKind::CoroutineClosure(_, _) => {
let ty = self.codegen_ty_stable(res_ty);
self.codegen_unimplemented_expr(
Expand Down
2 changes: 1 addition & 1 deletion kani-compiler/src/kani_middle/stubbing/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ impl MirVisitor for StubConstChecker<'_> {
[one] => one.as_type().unwrap(),
_ => unreachable!(),
};
let trait_ = tcx.trait_of_item(mono_const.def).unwrap();
let trait_ = tcx.trait_of_assoc(mono_const.def).unwrap();
let msg = format!(
"Type `{implementor}` does not implement trait `{}`. \
This is likely because `{}` is used as a stub but its \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ fn data_bytes_for_ty(
RigidTy::FnDef(_, _)
| RigidTy::FnPtr(_)
| RigidTy::Closure(_, _)
| RigidTy::Coroutine(_, _, _)
| RigidTy::Coroutine(_, _)
| RigidTy::CoroutineClosure(_, _)
| RigidTy::CoroutineWitness(_, _)
| RigidTy::Foreign(_)
Expand Down
4 changes: 2 additions & 2 deletions kani-compiler/src/kani_middle/transform/check_values.rs
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ impl MirVisitor for CheckValueVisitor<'_, '_> {
// Only aggregate value.
AggregateKind::Array(_)
| AggregateKind::Closure(_, _)
| AggregateKind::Coroutine(_, _, _)
| AggregateKind::Coroutine(_, _)
| AggregateKind::CoroutineClosure(_, _)
| AggregateKind::RawPtr(_, _)
| AggregateKind::Tuple => {}
Expand Down Expand Up @@ -1057,7 +1057,7 @@ pub fn ty_validity_per_offset(
RigidTy::FnDef(_, _)
| RigidTy::FnPtr(_)
| RigidTy::Closure(_, _)
| RigidTy::Coroutine(_, _, _)
| RigidTy::Coroutine(_, _)
| RigidTy::CoroutineClosure(_, _)
| RigidTy::CoroutineWitness(_, _)
| RigidTy::Foreign(_)
Expand Down
2 changes: 1 addition & 1 deletion kani-compiler/src/kani_middle/transform/internal_mir.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ impl RustcInternalMir for AggregateKind {
internal(tcx, generic_args),
)
}
AggregateKind::Coroutine(coroutine_def, generic_args, _) => {
AggregateKind::Coroutine(coroutine_def, generic_args) => {
rustc_middle::mir::AggregateKind::Coroutine(
internal(tcx, coroutine_def.0),
internal(tcx, generic_args),
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# SPDX-License-Identifier: Apache-2.0 OR MIT

[toolchain]
channel = "nightly-2025-07-24"
channel = "nightly-2025-07-29"
components = ["llvm-tools", "rustc-dev", "rust-src", "rustfmt"]
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ arithmetic_overflow\

Autoharness: Checking function should_pass::alignment::Alignment::as_usize's contract against all possible inputs...

should_pass::alignment::Alignment::as_usize\
- Status: SUCCESS\
- Description: "Rust intrinsic assumption failed"

should_pass::alignment::Alignment::as_usize\
- Status: SUCCESS\
- Description: "|result| result.is_power_of_two()"
Expand Down
Loading