summaryrefslogtreecommitdiffstats
path: root/tests/ui/suggestions/type-ascription-instead-of-variant.stderr
blob: 11d0f5f527e21e6fa7f56c84e0e242c1e6a82ac1 (plain)
1
2
3
4
5
6
7
8
9
10
error: path separator must be a double colon
  --> $DIR/type-ascription-instead-of-variant.rs:3:19
   |
LL |     let _ = Option:Some("");
   |                   ^ help: use a double colon instead: `::`
   |
   = note: if you meant to annotate an expression with a type, the type ascription syntax has been removed, see issue #101728 <https://github.com/rust-lang/rust/issues/101728>

error: aborting due to previous error