]>
Commit | Line | Data |
---|---|---|
2c00a5a8 | 1 | // compile-flags: -Z unpretty=mir |
9e0c209e | 2 | |
7cac9316 | 3 | use std::path::MAIN_SEPARATOR; |
1a4d82fc | 4 | |
7453a54e | 5 | fn main() { |
7cac9316 XL |
6 | let mut foo : String = "hello".to_string(); |
7 | foo.push(MAIN_SEPARATOR); | |
8 | println!("{}", foo); | |
9 | let x: () = 0; //~ ERROR: mismatched types | |
223e47cc | 10 | } |