]> git.proxmox.com Git - rustc.git/blob - src/test/ui/resolve/issue-21221-1.stderr
d3e1953435359487261a14f34b7edf8736cf458e
[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:43:6
3 |
4 LL | impl Mul for Foo {
5 | ^^^ not found in this scope
6 |
7 help: consider importing one of these items
8 |
9 LL | use mul1::Mul;
10 |
11 LL | use mul2::Mul;
12 |
13 LL | use std::ops::Mul;
14 |
15
16 error[E0412]: cannot find type `Mul` in this scope
17 --> $DIR/issue-21221-1.rs:58:16
18 |
19 LL | fn getMul() -> Mul {
20 | ^^^ not found in this scope
21 |
22 help: consider importing one of these items
23 |
24 LL | use mul1::Mul;
25 |
26 LL | use mul2::Mul;
27 |
28 LL | use mul3::Mul;
29 |
30 LL | use mul4::Mul;
31 |
32 and 2 other candidates
33
34 error[E0405]: cannot find trait `ThisTraitReallyDoesntExistInAnyModuleReally` in this scope
35 --> $DIR/issue-21221-1.rs:63:6
36 |
37 LL | impl ThisTraitReallyDoesntExistInAnyModuleReally for Foo {
38 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
39
40 error[E0405]: cannot find trait `Div` in this scope
41 --> $DIR/issue-21221-1.rs:68:6
42 |
43 LL | impl Div for Foo {
44 | ^^^ not found in this scope
45 |
46 help: consider importing this trait
47 |
48 LL | use std::ops::Div;
49 |
50
51 error: aborting due to 4 previous errors
52
53 Some errors have detailed explanations: E0405, E0412.
54 For more information about an error, try `rustc --explain E0405`.