Commit Graph

6 Commits

Author SHA1 Message Date
Nicholas Nethercote
84ac80f192 Reformat use declarations.
The previous commit updated `rustfmt.toml` appropriately. This commit is
the outcome of running `x fmt --all` with the new formatting options.
2024-07-29 08:26:52 +10:00
Nicholas Nethercote
d49d4ae192 Remove extern crate rustc_middle from rustc_mir_transform. 2024-05-13 08:20:18 +10:00
DianQK
102bda49b1 Remove restrictions on small enum statements such as Order, Option or Result
`early-tailduplication` is only a problem when there are a significant number of branches.
2024-03-13 22:35:11 +08:00
DianQK
a10d157f98 Addition of parentheses to clarify precedence 2024-03-13 22:35:11 +08:00
DianQK
df33e02f40 Add comments for UnreachableEnumBranching 2024-03-13 22:35:08 +08:00
DianQK
8ddd966223 Rename UninhabitedEnumBranching to UnreachableEnumBranching 2024-03-09 14:32:27 +08:00