]> git.proxmox.com Git - rustc.git/blob - src/test/ui/resolve/issue-21221-1.stderr
New upstream version 1.26.0+dfsg1
[rustc.git] / src / test / ui / resolve / issue-21221-1.stderr
1 error[E0405]: cannot find trait `Mul` in this scope
2 --> $DIR/issue-21221-1.rs:53:6
3 |
4 LL | impl Mul for Foo {
5 | ^^^ not found in this scope
6 help: possible candidates are found in other modules, you can import them into scope
7 |
8 LL | use mul1::Mul;
9 |
10 LL | use mul2::Mul;
11 |
12 LL | use std::ops::Mul;
13 |
14
15 error[E0412]: cannot find type `Mul` in this scope
16 --> $DIR/issue-21221-1.rs:68:16
17 |
18 LL | fn getMul() -> Mul {
19 | ^^^ not found in this scope
20 help: possible candidates are found in other modules, you can import them into scope
21 |
22 LL | use mul1::Mul;
23 |
24 LL | use mul2::Mul;
25 |
26 LL | use mul3::Mul;
27 |
28 LL | use mul4::Mul;
29 |
30 and 2 other candidates
31
32 error[E0405]: cannot find trait `ThisTraitReallyDoesntExistInAnyModuleReally` in this scope
33 --> $DIR/issue-21221-1.rs:73:6
34 |
35 LL | impl ThisTraitReallyDoesntExistInAnyModuleReally for Foo {
36 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
37
38 error[E0405]: cannot find trait `Div` in this scope
39 --> $DIR/issue-21221-1.rs:78:6
40 |
41 LL | impl Div for Foo {
42 | ^^^ not found in this scope
43 help: possible candidate is found in another module, you can import it into scope
44 |
45 LL | use std::ops::Div;
46 |
47
48 error: aborting due to 4 previous errors
49
50 Some errors occurred: E0405, E0412.
51 For more information about an error, try `rustc --explain E0405`.