]>
Commit | Line | Data |
---|---|---|
416331ca XL |
1 | error: expected type, found reserved keyword `box` |
2 | --> $DIR/issue-47666.rs:2:25 | |
3 | | | |
4 | LL | 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 | ||
16 | error: aborting due to previous error | |
17 |