]>
Commit | Line | Data |
---|---|---|
5869c6ff | 1 | error: expected type, found `<[_]>::into_vec(box [0, 1])` |
3dfed10e | 2 | --> $DIR/issue-47666.rs:3:25 |
416331ca XL |
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>` | |
17df50a5 | 13 | = note: this error originates in the macro `$crate::__rust_force_expr` (in Nightly builds, run with -Z macro-backtrace for more info) |
416331ca | 14 | |
3dfed10e | 15 | error: aborting due to previous error |
416331ca | 16 |