Sign in
fuchsia
/
third_party
/
rust
/
08351004125c4d49aa757f2c3ec2340f7469ea91
/
.
/
src
/
test
/
ui
/
type
/
type-ascription-instead-of-initializer.rs
blob: aef25250b159fbdc46cf451237aa8c63a1217fd6 [
file
] [
log
] [
blame
]
fn
main
()
{
let
x
:
Vec
::
with_capacity
(
10
,
20
);
//~ ERROR expected type, found `10`
//~^ ERROR this function takes 1 parameter
}