blob: ae09b919dc15213575fe2f07c713f0f17d0cb787 [file] [log] [blame]
// https://github.com/rust-lang/rust/issues/8761
enum Foo {
A = 1i64,
//~^ ERROR mismatched types
//~| NOTE expected `isize`, found `i64`
B = 2u8
//~^ ERROR mismatched types
//~| NOTE expected `isize`, found `u8`
}
fn main() {}