Sign in
fuchsia
/
third_party
/
rust
/
20d43d03dd27568f609d621ce44673393e838892
/
.
/
src
/
test
/
ui
/
issues
/
issue-24819.rs
blob: 1155e8d5d548a9eb7ccb01376a8acbe032438d2f [
file
] [
log
] [
blame
]
use
std
::
collections
::
HashSet
;
fn
main
()
{
let
mut
v
=
Vec
::
new
();
foo
(&
mut
v
);
//~^ ERROR mismatched types
//~| expected struct `std::collections::HashSet`, found struct `std::vec::Vec`
}
fn
foo
(
h
:
&
mut
HashSet
<
u32
>)
{
}