]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/deref-path-method.rs
Rollup merge of #106709 - khuey:disable_split_dwarf_inlining_by_default, r=davidtwco
[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 }