]> git.lizzy.rs Git - rust.git/blob - src/test/ui/type/type-ascription-instead-of-initializer.rs
Rollup merge of #106499 - lyming2007:issue-105946-fix, r=estebank
[rust.git] / src / test / ui / type / type-ascription-instead-of-initializer.rs
1 fn main() {
2     let x: Vec::with_capacity(10, 20);  //~ ERROR expected type, found `10`
3     //~^ ERROR function takes 1 argument
4 }