]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/type-ascription-instead-of-variant.stderr
Auto merge of #106458 - albertlarsan68:move-tests, r=jyn514
[rust.git] / tests / ui / suggestions / type-ascription-instead-of-variant.stderr
1 error: expected type, found `""`
2   --> $DIR/type-ascription-instead-of-variant.rs:3:25
3    |
4 LL |     let _ = Option:Some("");
5    |                   -     ^^ expected type
6    |                   |
7    |                   help: maybe write a path separator here: `::`
8    |
9    = note: `#![feature(type_ascription)]` lets you annotate an expression with a type: `<expr>: <type>`
10
11 error: aborting due to previous error
12