1 error[E0599]: no method named `test_mut` found for type `std::vec::Vec<{integer}>` in the current scope
2 --> $DIR/auto-ref-slice-plus-ref.rs:18:7
4 LL | a.test_mut(); //~ ERROR no method named `test_mut` found
7 = help: items from traits can only be used if the trait is implemented and in scope
8 = note: the following trait defines an item `test_mut`, perhaps you need to implement it:
10 = help: did you mean `get_mut`?
12 error[E0599]: no method named `test` found for type `std::vec::Vec<{integer}>` in the current scope
13 --> $DIR/auto-ref-slice-plus-ref.rs:19:7
15 LL | a.test(); //~ ERROR no method named `test` found
18 = help: items from traits can only be used if the trait is implemented and in scope
19 = note: the following trait defines an item `test`, perhaps you need to implement it:
20 candidate #1: `MyIter`
22 error[E0599]: no method named `test` found for type `[{integer}; 1]` in the current scope
23 --> $DIR/auto-ref-slice-plus-ref.rs:21:11
25 LL | ([1]).test(); //~ ERROR no method named `test` found
28 = help: items from traits can only be used if the trait is implemented and in scope
29 = note: the following trait defines an item `test`, perhaps you need to implement it:
30 candidate #1: `MyIter`
32 error[E0599]: no method named `test` found for type `&[{integer}; 1]` in the current scope
33 --> $DIR/auto-ref-slice-plus-ref.rs:22:12
35 LL | (&[1]).test(); //~ ERROR no method named `test` found
38 = help: items from traits can only be used if the trait is implemented and in scope
39 = note: the following trait defines an item `test`, perhaps you need to implement it:
40 candidate #1: `MyIter`
42 error: aborting due to 4 previous errors
44 For more information about this error, try `rustc --explain E0599`.