mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 09:38:26 +03:00
df75809a85
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