]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-34255-1.stderr
Rollup merge of #57293 - Zoxc:incr-passes3, r=michaelwoerister
[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    |                        ^^ expecting a type here because of type ascription
6    |
7    = note: type ascription is a nightly-only feature that lets you annotate an expression with a type: `<expr>: <type>`
8 note: this expression expects an ascribed type after the colon
9   --> $DIR/issue-34255-1.rs:8:17
10    |
11 LL |     Test::Drill(field: 42);
12    |                 ^^^^^
13    = help: this might be indicative of a syntax error elsewhere
14
15 error: aborting due to previous error
16