summaryrefslogtreecommitdiffstats
path: root/tests/ui/suggestions/type-ascription-instead-of-variant.stderr
blob: f59ba78d4d38a9c8bfdebaa5cbad952f66220a5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error: expected type, found `""`
  --> $DIR/type-ascription-instead-of-variant.rs:3:25
   |
LL |     let _ = Option:Some("");
   |                   -     ^^ expected type
   |                   |
   |                   help: maybe write a path separator here: `::`
   |
   = note: `#![feature(type_ascription)]` lets you annotate an expression with a type: `<expr>: <type>`

error: aborting due to previous error