http://doc.rust-lang.org/1.0.0-beta.2/reference.html#match-expressions Unstable features are not allowed in beta/stable, so examples should be probably redoed.