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