about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2025-07-04 00:11:38 +0200
committerSamuel Tardieu <sam@rfc1149.net>2025-07-06 23:36:45 +0200
commitd8ba94b0ae59b9e140f65bce27527c12357bfbf7 (patch)
tree5d3f9775a12e98e9256fb42a086bf6fc22c47fd1 /compiler/rustc_codegen_llvm/src
parentb631cef729e0c9972ffbf0bc8b045c8b1ca827eb (diff)
downloadrust-d8ba94b0ae59b9e140f65bce27527c12357bfbf7.tar.gz
rust-d8ba94b0ae59b9e140f65bce27527c12357bfbf7.zip
Fix `manual_is_variant_and` condition generation
When comparing `x.map(func) == Some(bool_lit)`, the value of `bool_lit` was
ignored, despite the fact that its value should determine the value of
the proposed expression.

`func` can be either a closure or a path. For the latter, η-expansion
will be used if needed to invert the result of the function call.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions