fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.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 8note: `MyIter` defines an item `test_mut`, perhaps you need to implement it 9 --> $DIR/auto-ref-slice-plus-ref.rs:14:1 10 | 11LL | trait MyIter { 12 | ^^^^^^^^^^^^ 13 14error[E0599]: no method named `test` found for struct `std::vec::Vec<{integer}>` in the current scope 15 --> $DIR/auto-ref-slice-plus-ref.rs:8:7 16 | 17LL | a.test(); 18 | ^^^^ method not found in `std::vec::Vec<{integer}>` 19 | 20 = help: items from traits can only be used if the trait is implemented and in scope 21note: `MyIter` defines an item `test`, perhaps you need to implement it 22 --> $DIR/auto-ref-slice-plus-ref.rs:14:1 23 | 24LL | trait MyIter { 25 | ^^^^^^^^^^^^ 26 27error[E0599]: no method named `test` found for array `[{integer}; 1]` in the current scope 28 --> $DIR/auto-ref-slice-plus-ref.rs:10:11 29 | 30LL | ([1]).test(); 31 | ^^^^ method not found in `[{integer}; 1]` 32 | 33 = help: items from traits can only be used if the trait is implemented and in scope 34note: `MyIter` defines an item `test`, perhaps you need to implement it 35 --> $DIR/auto-ref-slice-plus-ref.rs:14:1 36 | 37LL | trait MyIter { 38 | ^^^^^^^^^^^^ 39 40error[E0599]: no method named `test` found for reference `&[{integer}; 1]` in the current scope 41 --> $DIR/auto-ref-slice-plus-ref.rs:11:12 42 | 43LL | (&[1]).test(); 44 | ^^^^ method not found in `&[{integer}; 1]` 45 | 46 = help: items from traits can only be used if the trait is implemented and in scope 47note: `MyIter` defines an item `test`, perhaps you need to implement it 48 --> $DIR/auto-ref-slice-plus-ref.rs:14:1 49 | 50LL | trait MyIter { 51 | ^^^^^^^^^^^^ 52 53error: aborting due to 4 previous errors 54 55For more information about this error, try `rustc --explain E0599`.