Sign in
rust
/
rust
/
a5a286df89146c64afebc6dcbbd3f61ba67ae53b
/
.
/
tests
/
ui
/
typeck
/
bad-type-in-vec-contains.rs
blob: 4433047b75ad2d0c9dd76c46c639b217d9735896 [
file
]
// The error message here still is pretty confusing.
fn
main
()
{
let
primes
=
Vec
::
new
();
primes
.
contains
(
3
);
//~^ ERROR mismatched types
}