We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d10d337 commit ce2c0d3Copy full SHA for ce2c0d3
tests/ui/discriminant.stderr
@@ -5,6 +5,7 @@ error[E0552]: unrecognized representation hint
5
| ^
6
|
7
= help: valid reprs are `Rust` (default), `C`, `align`, `packed`, `transparent`, `simd`, `i8`, `u8`, `i16`, `u16`, `i32`, `u32`, `i64`, `u64`, `i128`, `u128`, `isize`, `usize`
8
+ = note: for more information, visit <https://doc.rust-lang.org/reference/type-layout.html?highlight=repr#representations>
9
10
error[E0732]: `#[repr(inttype)]` must be specified for enums with explicit discriminants and non-unit variants
11
--> tests/ui/discriminant.rs:12:1
0 commit comments