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 fd76915 commit 47f694aCopy full SHA for 47f694a
compiler/rustc_codegen_llvm/src/va_arg.rs
@@ -506,12 +506,8 @@ fn emit_x86_64_sysv64_va_arg<'ll, 'tcx>(
506
}
507
508
509
- BackendRepr::SimdVector { .. } => {
510
- unreachable!("panics in the previous match on `backend_repr`")
511
- }
512
- BackendRepr::Memory { .. } => {
513
- unreachable!("early returns in the previous match on `backend_repr`")
514
+ // Previous match means control flow already escaped
+ BackendRepr::SimdVector { .. } | BackendRepr::Memory => unreachable!()
515
};
516
517
// AMD64-ABI 3.5.7p5: Step 5. Set:
0 commit comments