Sign in
rust
/
rust
/
08cd08fbef8c6663b052d8d9e4930d5696cbb8a7
/
.
/
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 `[_]`
}