fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1error[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 3 | 4LL | a.test_mut(); 5 | ^^^^^^^^ help: there is a method with a similar name: `get_mut` 6 | 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: 9 candidate #1: `MyIter` 10 11error[E0599]: no method named `test` found for struct `std::vec::Vec<{integer}>` in the current scope 12 --> $DIR/auto-ref-slice-plus-ref.rs:8:7 13 | 14LL | a.test(); 15 | ^^^^ method not found in `std::vec::Vec<{integer}>` 16 | 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` 20 21error[E0599]: no method named `test` found for array `[{integer}; 1]` in the current scope 22 --> $DIR/auto-ref-slice-plus-ref.rs:10:11 23 | 24LL | ([1]).test(); 25 | ^^^^ method not found in `[{integer}; 1]` 26 | 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` 30 31error[E0599]: no method named `test` found for reference `&[{integer}; 1]` in the current scope 32 --> $DIR/auto-ref-slice-plus-ref.rs:11:12 33 | 34LL | (&[1]).test(); 35 | ^^^^ method not found in `&[{integer}; 1]` 36 | 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` 40 41error: aborting due to 4 previous errors 42 43For more information about this error, try `rustc --explain E0599`.