]> git.lizzy.rs Git - rust.git/blob - src/test/ui/repr/repr-disallow-on-variant.rs
Override rustc version in ui and mir-opt tests to get stable hashes
[rust.git] / src / test / ui / repr / repr-disallow-on-variant.rs
1 struct Test;
2
3 enum Foo {
4     #[repr(u8)]
5     //~^ ERROR attribute should be applied to an enum
6     Variant,
7 }
8
9 fn main() {}