Sign in
rust
/
rust
/
HEAD
/
.
/
tests
/
ui
/
type
/
type-ascription-instead-of-initializer.rs
blob: 8978c85ed493232f4f8db6ae916a9db3adf0b525 [
file
] [
log
] [
blame
]
fn
main
()
{
let
x
:
Vec
::
with_capacity
(
10
,
20
);
//~ ERROR expected type, found `10`
//~^ ERROR function takes 1 argument
}