diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-04-16 21:41:27 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-16 21:41:27 +0200 |
| commit | 7709b7d44a99e52ef8818b3690aa2a3531b86707 (patch) | |
| tree | 043e5fb90ab4a2bb4d9963f49fd610e517fc5928 /tests/coverage/branch_if.rs | |
| parent | 4779115f2b06b9673a6329565304758ef948148f (diff) | |
| parent | a03aeca99a1679e27d7439e6030fe759eb1f6f04 (diff) | |
| download | rust-7709b7d44a99e52ef8818b3690aa2a3531b86707.tar.gz rust-7709b7d44a99e52ef8818b3690aa2a3531b86707.zip | |
Rollup merge of #124023 - pacak:less-splody, r=jieyouxu
Allow workproducts without object files. This pull request partially reverts changes from e16c3b4a4421 Original motivation for this assert was described with "A WorkProduct without a saved file is useless" which was true at the time but now it is possible to have work products with other types of files (llvm-ir, asm, etc) and there are bugreports for this failure: For example: https://github.com/rust-lang/rust/issues/123695 Fixes https://github.com/rust-lang/rust/issues/123234 Now existing `assert` and `.unwrap_or_else` are unified into a single check that emits slightly more user friendly error message if an object files was meant to be produced but it's missing
Diffstat (limited to 'tests/coverage/branch_if.rs')
0 files changed, 0 insertions, 0 deletions
