1 2 3 4 5 6 7
use vihaco_parser::Parse; #[derive(Parse)] enum Bad { Foo(f64), // token "foo" Foobar(f64), // token "foobar" — "foo" is prefix of "foobar", "foo" declared first — error } fn main() {}