]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/type-ascription-instead-of-variant.stderr
Auto merge of #65598 - Centril:rollup-vc6ht2c, r=Centril
[rust.git] / src / test / ui / suggestions / type-ascription-instead-of-variant.stderr
1 error: expected type, found `""`
2   --> $DIR/type-ascription-instead-of-variant.rs:2: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    = note: for more information, see https://github.com/rust-lang/rust/issues/23416
11
12 error: aborting due to previous error
13