1 error: expected type, found `0`
2 --> $DIR/type-ascription-instead-of-statement-end.rs:5:5
5 | - help: try using a semicolon: `;`
9 = note: `#![feature(type_ascription)]` lets you annotate an expression with a type: `<expr>: <type>`
10 = note: see issue #23416 <https://github.com/rust-lang/rust/issues/23416> for more information
12 error: expected type, found `0`
13 --> $DIR/type-ascription-instead-of-statement-end.rs:9:23
15 LL | println!("test"): 0;
18 | tried to parse a type due to this type ascription
20 = note: `#![feature(type_ascription)]` lets you annotate an expression with a type: `<expr>: <type>`
21 = note: see issue #23416 <https://github.com/rust-lang/rust/issues/23416> for more information
23 error: aborting due to 2 previous errors