1 error: expected type, found `10`
2 --> $DIR/type-ascription-instead-of-initializer.rs:2:31
4 LL | let x: Vec::with_capacity(10, 20);
7 | |help: use `=` if you meant to assign
8 | while parsing the type for `x`
10 error[E0061]: this function takes 1 argument but 2 arguments were supplied
11 --> $DIR/type-ascription-instead-of-initializer.rs:2:12
13 LL | let x: Vec::with_capacity(10, 20);
14 | ^^^^^^^^^^^^^^^^^^ -- -- supplied 2 arguments
18 error: aborting due to 2 previous errors
20 For more information about this error, try `rustc --explain E0061`.