]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-34255-1.stderr
Rollup merge of #60492 - acrrd:issues/54054_chain, r=SimonSapin
[rust.git] / src / test / ui / issues / issue-34255-1.stderr
1 error: expected type, found `42`
2   --> $DIR/issue-34255-1.rs:8:24
3    |
4 LL |     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
12 error: aborting due to previous error
13