summaryrefslogtreecommitdiffstats
path: root/tests/ui/enum-discriminant/arbitrary_enum_discriminant-no-repr.rs
blob: a6e5f70fdefa63dc66b816a3316a41d0e7d77ca1 (plain)
1
2
3
4
5
6
7
8
#![crate_type="lib"]

enum Enum {
//~^ ERROR `#[repr(inttype)]` must be specified
  Unit = 1,
  Tuple() = 2,
  Struct{} = 3,
}