]>
Commit | Line | Data |
---|---|---|
32a655c1 | 1 | error[E0405]: cannot find trait `Mul` in this scope |
0731742a | 2 | --> $DIR/issue-21221-1.rs:43:6 |
32a655c1 | 3 | | |
0531ce1d | 4 | LL | impl Mul for Foo { |
32a655c1 | 5 | | ^^^ not found in this scope |
e74abb32 | 6 | | |
f9f354fc | 7 | help: consider importing one of these items |
041b39d2 | 8 | | |
353b0b11 | 9 | LL + use mul1::Mul; |
041b39d2 | 10 | | |
353b0b11 | 11 | LL + use mul2::Mul; |
041b39d2 | 12 | | |
353b0b11 | 13 | LL + use std::ops::Mul; |
041b39d2 | 14 | | |
32a655c1 SL |
15 | |
16 | error[E0412]: cannot find type `Mul` in this scope | |
0731742a | 17 | --> $DIR/issue-21221-1.rs:58:16 |
32a655c1 | 18 | | |
0531ce1d | 19 | LL | fn getMul() -> Mul { |
32a655c1 | 20 | | ^^^ not found in this scope |
e74abb32 | 21 | | |
f9f354fc | 22 | help: consider importing one of these items |
041b39d2 | 23 | | |
353b0b11 | 24 | LL + use mul1::Mul; |
041b39d2 | 25 | | |
353b0b11 | 26 | LL + use mul2::Mul; |
041b39d2 | 27 | | |
353b0b11 | 28 | LL + use std::ops::Mul; |
041b39d2 | 29 | | |
32a655c1 SL |
30 | |
31 | error[E0405]: cannot find trait `ThisTraitReallyDoesntExistInAnyModuleReally` in this scope | |
0731742a | 32 | --> $DIR/issue-21221-1.rs:63:6 |
32a655c1 | 33 | | |
0531ce1d | 34 | LL | impl ThisTraitReallyDoesntExistInAnyModuleReally for Foo { |
32a655c1 SL |
35 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope |
36 | ||
37 | error[E0405]: cannot find trait `Div` in this scope | |
0731742a | 38 | --> $DIR/issue-21221-1.rs:68:6 |
32a655c1 | 39 | | |
0531ce1d | 40 | LL | impl Div for Foo { |
32a655c1 | 41 | | ^^^ not found in this scope |
e74abb32 | 42 | | |
f9f354fc | 43 | help: consider importing this trait |
041b39d2 | 44 | | |
353b0b11 | 45 | LL + use std::ops::Div; |
041b39d2 | 46 | | |
32a655c1 | 47 | |
0531ce1d | 48 | error: aborting due to 4 previous errors |
32a655c1 | 49 | |
48663c56 | 50 | Some errors have detailed explanations: E0405, E0412. |
0531ce1d | 51 | For more information about an error, try `rustc --explain E0405`. |