]> git.proxmox.com Git - rustc.git/blame - src/test/ui/type/ascription/issue-47666.stderr
New upstream version 1.38.0+dfsg1
[rustc.git] / src / test / ui / type / ascription / issue-47666.stderr
CommitLineData
416331ca
XL
1error: expected type, found reserved keyword `box`
2 --> $DIR/issue-47666.rs:2:25
3 |
4LL | let _ = Option:Some(vec![0, 1]);
5 | - ^^^^^^^^^^
6 | | |
7 | | expected type
8 | | in this macro invocation
9 | | this macro call doesn't expand to a type
10 | help: maybe write a path separator here: `::`
11 |
12 = note: `#![feature(type_ascription)]` lets you annotate an expression with a type: `<expr>: <type>`
13 = note: for more information, see https://github.com/rust-lang/rust/issues/23416
14 = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
15
16error: aborting due to previous error
17