]> git.lizzy.rs Git - rust.git/blob - src/test/ui/type/type-ascription-instead-of-initializer.rs
Auto merge of #99443 - jam1garner:mips-virt-feature, r=nagisa
[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 this function takes 1 argument
4 }