Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (21 sloc) 361 Bytes
// run-pass
#![allow(unused_variables)]
// pretty-expanded FIXME #23616
enum Homura {
Madoka {
name: String,
age: u32,
},
}
fn main() {
let homura = Homura::Madoka {
name: "Akemi".to_string(),
age: 14,
};
match homura {
Homura::Madoka {
name,
age,
} => (),
};
}
You can’t perform that action at this time.