1 error[E0405]: cannot find trait `Mul` in this scope
2 --> $DIR/issue-21221-1.rs:43:6
4 LL | impl Mul for Foo {
5 | ^^^ not found in this scope
7 help: consider importing one of these items
13 LL | use std::ops::Mul;
16 error[E0412]: cannot find type `Mul` in this scope
17 --> $DIR/issue-21221-1.rs:58:16
19 LL | fn getMul() -> Mul {
20 | ^^^ not found in this scope
22 help: consider importing one of these items
32 and 2 other candidates
34 error[E0405]: cannot find trait `ThisTraitReallyDoesntExistInAnyModuleReally` in this scope
35 --> $DIR/issue-21221-1.rs:63:6
37 LL | impl ThisTraitReallyDoesntExistInAnyModuleReally for Foo {
38 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
40 error[E0405]: cannot find trait `Div` in this scope
41 --> $DIR/issue-21221-1.rs:68:6
43 LL | impl Div for Foo {
44 | ^^^ not found in this scope
46 help: consider importing this trait
48 LL | use std::ops::Div;
51 error: aborting due to 4 previous errors
53 Some errors have detailed explanations: E0405, E0412.
54 For more information about an error, try `rustc --explain E0405`.