rust-analyzer/crates/ide_assists/src/tests
Aleksey Kladov beca92b245 internal: make invert binary op more robust
Previously, we only inverted comparison operators (< and the like) if
the type implemented Ord. This doesn't make sense: if `<` works, then
`>=` will work as well!

Extra semantic checks greatly reduce robustness and predictability of
the assist, it's better to keep things simple.
2021-08-14 16:40:00 +03:00
..
generated.rs internal: make invert binary op more robust 2021-08-14 16:40:00 +03:00
sourcegen.rs fix generated tests 2021-08-02 19:49:36 +03:00