diff options
| author | Catherine Flores <catherine.3.flores@gmail.com> | 2025-01-28 06:57:12 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-28 06:57:12 +0000 |
| commit | 66dc8a1a30b19f31454a9e58f8723500a1a8ad17 (patch) | |
| tree | 49fe94081ee83fa88d4e7842d5615f53c94cac02 /compiler/rustc_mir_transform/src/coverage/query.rs | |
| parent | 83bde363b633a68a1a94441b685ee5a87c60879c (diff) | |
| parent | 2640f657ec8bd64276f85741d268e7a87e35de6e (diff) | |
| download | rust-66dc8a1a30b19f31454a9e58f8723500a1a8ad17.tar.gz rust-66dc8a1a30b19f31454a9e58f8723500a1a8ad17.zip | |
proper applicability for `obfuscated_if_else` (#14061)
fix #14034 The currect implementation of `obfuscated_if_else` sometimes makes incorrect suggestions when the original code have side effects (see the example in the above issue). I think this can be fixed by changing the applicability depending on whether it can have side effects or not. changelog: [`obfuscated_if_else`]: change applicability when the original code can have side effects
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/query.rs')
0 files changed, 0 insertions, 0 deletions
