diff options
| author | Deadbeef <ent3rm4n@gmail.com> | 2022-04-06 11:21:10 +1000 |
|---|---|---|
| committer | Deadbeef <ent3rm4n@gmail.com> | 2022-10-22 13:54:39 +0800 |
| commit | 988e75bb65f688d76f4f80e0fb72ef21e831d0b0 (patch) | |
| tree | 6e988b95e3f8e3614e3263b05e9cd998b7b4ea80 /compiler/rustc_error_codes/src | |
| parent | eecde5850cade0c058dc12330081329b31a826c7 (diff) | |
| download | rust-988e75bb65f688d76f4f80e0fb72ef21e831d0b0.tar.gz rust-988e75bb65f688d76f4f80e0fb72ef21e831d0b0.zip | |
Stabilize arbitrary_enum_discriminant, take 2
Diffstat (limited to 'compiler/rustc_error_codes/src')
| -rw-r--r-- | compiler/rustc_error_codes/src/error_codes/E0732.md | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/rustc_error_codes/src/error_codes/E0732.md b/compiler/rustc_error_codes/src/error_codes/E0732.md index 7347e6654c5..9536fdbf0df 100644 --- a/compiler/rustc_error_codes/src/error_codes/E0732.md +++ b/compiler/rustc_error_codes/src/error_codes/E0732.md @@ -3,8 +3,6 @@ An `enum` with a discriminant must specify a `#[repr(inttype)]`. Erroneous code example: ```compile_fail,E0732 -#![feature(arbitrary_enum_discriminant)] - enum Enum { // error! Unit = 1, Tuple() = 2, @@ -20,8 +18,6 @@ is a well-defined way to extract a variant's discriminant from a value; for instance: ``` -#![feature(arbitrary_enum_discriminant)] - #[repr(u8)] enum Enum { Unit = 3, |
