]> git.proxmox.com Git - rustc.git/blame - src/test/ui/span/issue-37767.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / span / issue-37767.stderr
CommitLineData
32a655c1 1error[E0034]: multiple applicable items in scope
0731742a 2 --> $DIR/issue-37767.rs:10:7
32a655c1 3 |
532ac7d7 4LL | a.foo()
32a655c1
SL
5 | ^^^ multiple `foo` found
6 |
7note: candidate #1 is defined in the trait `A`
0731742a 8 --> $DIR/issue-37767.rs:2:5
32a655c1 9 |
0531ce1d 10LL | fn foo(&mut self) {}
ff7c6d11 11 | ^^^^^^^^^^^^^^^^^
32a655c1 12note: candidate #2 is defined in the trait `B`
0731742a 13 --> $DIR/issue-37767.rs:6:5
32a655c1 14 |
0531ce1d 15LL | fn foo(&mut self) {}
ff7c6d11 16 | ^^^^^^^^^^^^^^^^^
ba9703b0 17help: disambiguate the associated function for candidate #1
dfeec247
XL
18 |
19LL | A::foo(&a)
94222f64 20 | ~~~~~~~~~~
ba9703b0 21help: disambiguate the associated function for candidate #2
dfeec247
XL
22 |
23LL | B::foo(&a)
94222f64 24 | ~~~~~~~~~~
32a655c1
SL
25
26error[E0034]: multiple applicable items in scope
0731742a 27 --> $DIR/issue-37767.rs:22:7
32a655c1 28 |
532ac7d7 29LL | a.foo()
32a655c1
SL
30 | ^^^ multiple `foo` found
31 |
32note: candidate #1 is defined in the trait `C`
0731742a 33 --> $DIR/issue-37767.rs:14:5
32a655c1 34 |
0531ce1d 35LL | fn foo(&self) {}
ff7c6d11 36 | ^^^^^^^^^^^^^
32a655c1 37note: candidate #2 is defined in the trait `D`
0731742a 38 --> $DIR/issue-37767.rs:18:5
32a655c1 39 |
0531ce1d 40LL | fn foo(&self) {}
ff7c6d11 41 | ^^^^^^^^^^^^^
ba9703b0 42help: disambiguate the associated function for candidate #1
dfeec247
XL
43 |
44LL | C::foo(&a)
94222f64 45 | ~~~~~~~~~~
ba9703b0 46help: disambiguate the associated function for candidate #2
dfeec247
XL
47 |
48LL | D::foo(&a)
94222f64 49 | ~~~~~~~~~~
32a655c1
SL
50
51error[E0034]: multiple applicable items in scope
0731742a 52 --> $DIR/issue-37767.rs:34:7
32a655c1 53 |
532ac7d7 54LL | a.foo()
32a655c1
SL
55 | ^^^ multiple `foo` found
56 |
57note: candidate #1 is defined in the trait `E`
0731742a 58 --> $DIR/issue-37767.rs:26:5
32a655c1 59 |
0531ce1d 60LL | fn foo(self) {}
ff7c6d11 61 | ^^^^^^^^^^^^
32a655c1 62note: candidate #2 is defined in the trait `F`
0731742a 63 --> $DIR/issue-37767.rs:30:5
32a655c1 64 |
0531ce1d 65LL | fn foo(self) {}
ff7c6d11 66 | ^^^^^^^^^^^^
ba9703b0 67help: disambiguate the associated function for candidate #1
dfeec247
XL
68 |
69LL | E::foo(a)
94222f64 70 | ~~~~~~~~~
ba9703b0 71help: disambiguate the associated function for candidate #2
dfeec247
XL
72 |
73LL | F::foo(a)
94222f64 74 | ~~~~~~~~~
32a655c1 75
041b39d2 76error: aborting due to 3 previous errors
32a655c1 77
0531ce1d 78For more information about this error, try `rustc --explain E0034`.