diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-09-16 21:53:07 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-16 21:53:07 +0200 |
| commit | 14ee69c250562f290368cd2ab3b449c3e15b6483 (patch) | |
| tree | fd05242fc82fccf1048812ce85b829fde4ef2cfe /compiler/rustc_mir_transform/src/coverage/graph.rs | |
| parent | 852e08e9bc8de4611b2aebf8678ee32758b39494 (diff) | |
| parent | 45eceb2c576d20dd43c22ae4b591a4f1e9d1db56 (diff) | |
| download | rust-14ee69c250562f290368cd2ab3b449c3e15b6483.tar.gz rust-14ee69c250562f290368cd2ab3b449c3e15b6483.zip | |
Rollup merge of #130437 - jder:issue-130372, r=compiler-errors
Avoid crashing on variadic functions when producing arg-mismatch errors Fixes #130372 by accommodating how variadic functions change the argument list length between HIR body and FnDecls. Also degrades the zip_eq to a debug_assert! to match other asserts in the area to avoid being disruptive to users. There is at least one other crash in this area I am working on in #130400 and also considering how we might refactor some of this code to hoist some of this logic up higher. r? `@compiler-errors`
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/graph.rs')
0 files changed, 0 insertions, 0 deletions
