Rust mode // Demo code. type foo = i32; enum bar { Some(i32, foo), None } fn check_crate(x: i32) { let v = 10; match foo { 1 ... 3 { print_foo(); if x { blah().to_string(); } } (x, y) { "bye" } _ { "hi" } } } MIME types defined: text/x-rustsrc.