Skip to content

Commit

Permalink
fix cranelift
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed Feb 5, 2024
1 parent 514ca3c commit d587e44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_codegen_cranelift/src/abi/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ pub(crate) fn codegen_terminator_call<'tcx>(
// Unimplemented intrinsics must have a fallback body. The fallback body is obtained
// by converting the `InstanceDef::Intrinsic` to an `InstanceDef::Item`.
Err(()) => {
assert!(!fcx.tcx.intrinsic(instance.def_id()).unwrap().must_be_overridden);
assert!(!fx.tcx.intrinsic(instance.def_id()).unwrap().must_be_overridden);
Some(Instance::new(instance.def_id(), instance.args))
}
}
Expand Down

0 comments on commit d587e44

Please sign in to comment.