4 let mut foo: Option<Box<_>> = Some(Box::new(5));
11 println!("'{}'", foo.unwrap());
14 fn match_on_arg(mut foo: Option<Box<i32>>) {
21 println!("'{}'", foo.unwrap());
24 fn match_on_binding() {
25 match Some(Box::new(7)) {
33 println!("'{}'", foo.unwrap());
39 let mut foo: Option<Box<_>> = Some(Box::new(8));
47 println!("'{}'", foo.unwrap());
54 match_on_arg(Some(Box::new(6)));