1 error[E0599]: no method named `test_mut` found for struct `std::vec::Vec<{integer}>` in the current scope
2 --> $DIR/auto-ref-slice-plus-ref.rs:7:7
5 | ^^^^^^^^ help: there is a method with a similar name: `get_mut`
8 | ------------ `MyIter` defines an item `test_mut`
10 = help: items from traits can only be used if the trait is implemented and in scope
12 error[E0599]: no method named `test` found for struct `std::vec::Vec<{integer}>` in the current scope
13 --> $DIR/auto-ref-slice-plus-ref.rs:8:7
16 | ^^^^ method not found in `std::vec::Vec<{integer}>`
19 | ------------ `MyIter` defines an item `test`
21 = help: items from traits can only be used if the trait is implemented and in scope
23 error[E0599]: no method named `test` found for array `[{integer}; 1]` in the current scope
24 --> $DIR/auto-ref-slice-plus-ref.rs:10:11
27 | ^^^^ method not found in `[{integer}; 1]`
30 | ------------ `MyIter` defines an item `test`
32 = help: items from traits can only be used if the trait is implemented and in scope
34 error[E0599]: no method named `test` found for reference `&[{integer}; 1]` in the current scope
35 --> $DIR/auto-ref-slice-plus-ref.rs:11:12
38 | ^^^^ method not found in `&[{integer}; 1]`
41 | ------------ `MyIter` defines an item `test`
43 = help: items from traits can only be used if the trait is implemented and in scope
45 error: aborting due to 4 previous errors
47 For more information about this error, try `rustc --explain E0599`.