fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0599]: no function or associated item named `contains` found for struct `Vec<_, _>` in the current scope 2 --> $DIR/deref-path-method.rs:3:10 3 | 4LL | Vec::contains(&vec, &0); 5 | ^^^^^^^^ function or associated item not found in `Vec<_, _>` 6 | 7help: the function `contains` is implemented on `[_]` 8 | 9LL | <[_]>::contains(&vec, &0); 10 | ~~~~~ 11 12error: aborting due to previous error 13 14For more information about this error, try `rustc --explain E0599`.