fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
500 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: see issue #23416 <https://github.com/rust-lang/rust/issues/23416> for more information
11
12error: aborting due to previous error
13