Files
rust/tests/ui
Jason Newcomb 3c54672d1a Optimize some usages of !! and -- in suggestions (#15366)
When an expression is made of a `!` or `-` unary operator which does not
change the type of the expression, use a new variant in `Sugg` to denote
it. This allows replacing an extra application of the same operator by
the removal of the original operator instead.

Some suggestions will now be shown as `x` instead of `!!x`. Right now,
no suggestion seems to produce `--x`.

changelog: none
2025-07-30 17:35:10 +00:00
..
2025-02-15 13:38:42 +01:00
2025-02-15 13:38:42 +01:00
2025-05-28 15:14:34 +01:00
2025-05-28 15:14:34 +01:00
2025-02-15 13:38:42 +01:00
2025-02-15 13:38:42 +01:00
2025-07-12 01:44:55 +08:00
2025-02-15 13:38:42 +01:00
2025-02-15 13:38:42 +01:00
2025-02-15 13:38:42 +01:00
2025-06-18 10:20:46 +02:00
2025-02-15 13:38:42 +01:00
2025-02-15 13:38:43 +01:00
2025-07-13 13:50:01 +00:00
2025-02-15 13:38:42 +01:00
2025-02-15 13:38:42 +01:00
2025-02-15 13:38:42 +01:00
2025-02-15 13:38:42 +01:00
2025-07-13 13:50:01 +00:00
2025-02-15 13:38:42 +01:00
2025-06-11 15:30:15 +01:00
2025-06-11 15:30:15 +01:00
2025-02-15 13:38:42 +01:00
2025-02-15 13:38:42 +01:00
2025-02-15 13:38:42 +01:00
2025-07-07 11:50:03 +05:00
2025-02-15 13:38:42 +01:00
2025-02-15 13:38:42 +01:00