about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorChris Denton <christophersdenton@gmail.com>2025-04-13 11:48:16 +0000
committerGitHub <noreply@github.com>2025-04-13 11:48:16 +0000
commitbde65bd9267b404ea4229d9a5a448702b1cac182 (patch)
treedfdc13e0c5139a7d4e5801facd509d6aa6d12aa6 /compiler/rustc_codegen_llvm/src/errors.rs
parentf1b31ae8df229535b845d3fd2e1dea19229ab428 (diff)
parent44d1d86124e7229a59a13899a14e468fee9dc923 (diff)
downloadrust-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