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:7:7
4 LL | a.test_mut(); //~ ERROR no method named `test_mut` found
5 | ^^^^^^^^ help: did you mean: `get_mut`
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:
11 error[E0599]: no method named `test` found for type `std::vec::Vec<{integer}>` in the current scope
12 --> $DIR/auto-ref-slice-plus-ref.rs:8:7
14 LL | a.test(); //~ ERROR no method named `test` found
17 = help: items from traits can only be used if the trait is implemented and in scope
18 = note: the following trait defines an item `test`, perhaps you need to implement it:
19 candidate #1: `MyIter`
21 error[E0599]: no method named `test` found for type `[{integer}; 1]` in the current scope
22 --> $DIR/auto-ref-slice-plus-ref.rs:10:11
24 LL | ([1]).test(); //~ ERROR no method named `test` found
27 = help: items from traits can only be used if the trait is implemented and in scope
28 = note: the following trait defines an item `test`, perhaps you need to implement it:
29 candidate #1: `MyIter`
31 error[E0599]: no method named `test` found for type `&[{integer}; 1]` in the current scope
32 --> $DIR/auto-ref-slice-plus-ref.rs:11:12
34 LL | (&[1]).test(); //~ ERROR no method named `test` found
37 = help: items from traits can only be used if the trait is implemented and in scope
38 = note: the following trait defines an item `test`, perhaps you need to implement it:
39 candidate #1: `MyIter`
41 error: aborting due to 4 previous errors
43 For more information about this error, try `rustc --explain E0599`.