1
Fork 0
rust/compiler/rustc_lint
Arvind Mukund 014ddac9c9 Disallow single-variant enums
Couldn't find documentation supporting that single-variant
`#[repr(Rust)]` enums with RHS assigned work as expected with this
change.

```rust
enum Variants {
  A = 17,
} // Would this be zero sized optimized guaranteed?
```
2024-04-23 21:27:44 -07:00
..
src Disallow single-variant enums 2024-04-23 21:27:44 -07:00
Cargo.toml Remove useless smallvec dependency in rustc_lint::non_local_def 2024-03-07 07:54:15 +01:00
messages.ftl Actually create ranged int types in the type system. 2024-04-08 12:02:19 +00:00