Closed
Description
fn main() {
let v = vec![];
}
The error message never mentions a line number outside of the macro.
error: unable to infer enough type information about `_`; type annotations or generic parameter binding required [--explain E0282]
--> <std macros>:3:1
3 |> < [ _ ] > :: into_vec ( box [ $ ( $ x ) , * ] ) ) ; ( $ ( $ x : expr , ) * )
|> ^^^^^^^^^^^^^^^^^^^^^
<std macros>:3:1: 3:22: note: in this expansion of vec! (defined in <std macros>)
error: aborting due to previous error
playpen: application terminated with error code 101