]> git.lizzy.rs Git - rust.git/blob - tests/ui/type/type-ascription-instead-of-statement-end.rs
Make `output_filenames` a real query
[rust.git] / tests / ui / type / type-ascription-instead-of-statement-end.rs
1 #![feature(type_ascription)]
2
3 fn main() {
4     println!("test"):
5     0; //~ ERROR expected type, found `0`
6 }
7
8 fn foo() {
9     println!("test"): 0; //~ ERROR expected type, found `0`
10 }