1 error: expected type, found `0`
2 --> $DIR/type-ascription-instead-of-statement-end.rs:5:5
5 | - help: try using a semicolon: `;`
7 | ^ expecting a type here because of type ascription
9 error: expected type, found `0`
10 --> $DIR/type-ascription-instead-of-statement-end.rs:9:23
12 LL | println!("test"): 0;
13 | ^ expecting a type here because of type ascription
15 = note: #![feature(type_ascription)] lets you annotate an expression with a type: `<expr>: <type>`
16 note: this expression expects an ascribed type after the colon
17 --> $DIR/type-ascription-instead-of-statement-end.rs:9:5
19 LL | println!("test"): 0;
21 = help: this might be indicative of a syntax error elsewhere
23 error: aborting due to 2 previous errors