4 fn get<K, V: Default>(_: K) -> Option<V> {
14 impl Default for Val {
15 fn default() -> Self {
26 Some(Val::Foo) => 3; //~ ERROR `match` arm body without braces
31 7; //~ ERROR `match` arm body without braces
37 11; //~ ERROR `match` arm body without braces
44 14; //~ ERROR `match` arm body without braces
49 _ => 18, //~ ERROR expected one of
53 20; //~ ERROR `match` arm body without braces
59 24; //~ ERROR `match` arm body without braces
66 27; //~ ERROR `match` arm body without braces
71 30; //~ ERROR expected one of
77 34; //~ ERROR expected one of
84 37; //~ ERROR expected one of