Sign in
rust
/
rust
/
56572203199216a87f69fa954bb1864a0ee8aade
/
.
/
tests
/
ui
/
suggestions
/
deref-path-method.rs
blob: d44b3bd70305729e2c112ed2b147b1163d271b17 [
file
]
fn
main
()
{
let
vec
=
Vec
::
new
();
Vec
::
contains
(&
vec
,
&
0
);
//~^ ERROR no associated function or constant named `contains` found for struct `Vec<_, _>` in the current scope
//~| HELP the function `contains` is implemented on `[_]`
}