]> git.proxmox.com Git - rustc.git/blob - src/test/ui/auto-ref-slice-plus-ref.stderr
New upstream version 1.34.2+dfsg1
[rustc.git] / src / test / ui / auto-ref-slice-plus-ref.stderr
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
3 |
4 LL | a.test_mut(); //~ ERROR no method named `test_mut` found
5 | ^^^^^^^^ help: did you mean: `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
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
13 |
14 LL | a.test(); //~ ERROR no method named `test` found
15 | ^^^^
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
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
23 |
24 LL | ([1]).test(); //~ ERROR no method named `test` found
25 | ^^^^
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
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
33 |
34 LL | (&[1]).test(); //~ ERROR no method named `test` found
35 | ^^^^
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
41 error: aborting due to 4 previous errors
42
43 For more information about this error, try `rustc --explain E0599`.