diff options
| author | Arvind Mukund <armu30@gmail.com> | 2024-03-09 15:13:29 -0800 |
|---|---|---|
| committer | Arvind Mukund <armu30@gmail.com> | 2024-04-23 21:27:44 -0700 |
| commit | 014ddac9c98d827237c1179050e5f96312884254 (patch) | |
| tree | 5018acbb8324152fd3d8faa48a69947f6ea6a22e /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 223d5eb64f492a41801396e34e714a657d020ac6 (diff) | |
| download | rust-014ddac9c98d827237c1179050e5f96312884254.tar.gz rust-014ddac9c98d827237c1179050e5f96312884254.zip | |
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?
```
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
