mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-09 13:33:38 +00:00
feat: Bool to enum assist This adds the `bool_to_enum` assist, which converts the type of boolean local variables, fields, constants and statics to a new `enum` type, making it easier to distinguish the meaning of `true` and `false` by renaming the variants. Closes #14779