2202493a67
fix incorrect suggestion for `!(a as type >= b)` fixes #12625 The expression `!(a as type >= b)` got simplified to `a as type < b`, but because of rust's parsing rules that `<` is interpreted as a start of generic arguments for `type`. This is fixed by recognizing this case and adding extra parens around the left-hand side of the comparison. changelog: [`nonminimal_bool`]: fix incorrect suggestion for `!(a as type >= b)` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |