]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-37665.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / issues / issue-37665.rs
CommitLineData
2c00a5a8 1// compile-flags: -Z unpretty=mir
9e0c209e 2
7cac9316 3use std::path::MAIN_SEPARATOR;
1a4d82fc 4
7453a54e 5fn 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}