]> git.proxmox.com Git - rustc.git/blame - src/test/ui/type/ascription/issue-47666.stderr
New upstream version 1.54.0+dfsg1
[rustc.git] / src / test / ui / type / ascription / issue-47666.stderr
CommitLineData
5869c6ff 1error: expected type, found `<[_]>::into_vec(box [0, 1])`
3dfed10e 2 --> $DIR/issue-47666.rs:3:25
416331ca
XL
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>`
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 15error: aborting due to previous error
416331ca 16