Sign in
chromium
/
external
/
github.com
/
rust-lang
/
rust
/
HEAD
/
.
/
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 `[_]`
}