#![feature(type_ascription)] enum Bug { Var = 0: S, //~^ ERROR: mismatched types //~| ERROR: mismatched types } fn main() {}