]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/deref-path-method.rs
Rollup merge of #106323 - starkat99:stabilize-f16c_target_feature, r=petrochenkov
[rust.git] / tests / ui / suggestions / deref-path-method.rs
1 fn main() {
2     let vec = Vec::new();
3     Vec::contains(&vec, &0);
4     //~^ ERROR no function or associated item named `contains` found for struct `Vec<_, _>` in the current scope
5     //~| HELP the function `contains` is implemented on `[_]`
6 }