about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry
diff options
context:
space:
mode:
authorllogiq <bogusandre@gmail.com>2025-02-10 12:42:10 +0000
committerGitHub <noreply@github.com>2025-02-10 12:42:10 +0000
commit8939915d5bbc685d066ab7411bb2b0011d863fbc (patch)
tree5b9430b79f2bb0d5bb872f568d4df6b03236e12e /tests/codegen/patchable-function-entry
parent521a8001cab373329752d3b4cdfca24de97ceee5 (diff)
parentb32ad4ce0a7f4aeb4dbb63032d8f42f67b773b14 (diff)
downloadrust-8939915d5bbc685d066ab7411bb2b0011d863fbc.tar.gz
rust-8939915d5bbc685d066ab7411bb2b0011d863fbc.zip
Use parentheses when needed in `nonminimal_bool` lint (#14187)
Since comparisons on types not implementing `Ord` (such as `f32`) are
not inverted, they must be enclosed in parentheses when they are
negated.

Fix #14184

changelog: [`nonminimal_bool`]: add required parentheses when negating a
binary expression
Diffstat (limited to 'tests/codegen/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions