blob: 1d5565ab58384cf586bb899c16c1b51866d9e205 [file] [log] [blame]
#![feature(type_ascription)]
fn main() {
println!("test"):
0; //~ ERROR expected type, found `0`
}
fn foo() {
println!("test"): 0; //~ ERROR expected type, found `0`
}