fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
486 B13 linesraw
1error: expected type, found `42`
2  --> $DIR/issue-34255-1.rs:8:24
3   |
4LL |     Test::Drill(field: 42);
5   |                      - ^^ expected type
6   |                      |
7   |                      tried to parse a type due to this type ascription
8   |
9   = note: `#![feature(type_ascription)]` lets you annotate an expression with a type: `<expr>: <type>`
10   = note: for more information, see https://github.com/rust-lang/rust/issues/23416
11
12error: aborting due to previous error
13