We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ff9b16 commit 3f718d8Copy full SHA for 3f718d8
compiler/rustc_ty_utils/src/abi.rs
@@ -464,7 +464,7 @@ fn fn_abi_sanity_check<'tcx>(
464
465
match &arg.mode {
466
PassMode::Ignore => {
467
- assert!(arg.layout.is_zst() || arg.layout.is_uninhabited());
+ assert!(arg.layout.is_zst());
468
}
469
PassMode::Direct(_) => {
470
// Here the Rust type is used to determine the actual ABI, so we have to be very
0 commit comments