Sign in
fuchsia
/
third_party
/
rust
/
f233a4c18bec906dab0b8531f326a15fadece547
/
.
/
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
}