diff options
| author | Chris Denton <christophersdenton@gmail.com> | 2025-04-13 11:48:16 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-13 11:48:16 +0000 |
| commit | bde65bd9267b404ea4229d9a5a448702b1cac182 (patch) | |
| tree | dfdc13e0c5139a7d4e5801facd509d6aa6d12aa6 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | f1b31ae8df229535b845d3fd2e1dea19229ab428 (diff) | |
| parent | 44d1d86124e7229a59a13899a14e468fee9dc923 (diff) | |
| download | rust-bde65bd9267b404ea4229d9a5a448702b1cac182.tar.gz rust-bde65bd9267b404ea4229d9a5a448702b1cac182.zip | |
Rollup merge of #139511 - Zalathar:panic-payload, r=Mark-Simulacrum
libtest: Pass the test's panic payload as Option instead of Result Passing a `Result<(), &dyn Any>` to `calc_result` requires awkward code at both call sites to build a fake result, for no real benefit. It's much easier to just pass the payload as `Option<&dyn Any>`. No functional change.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
