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