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
28 LL | use std::ops::Mul;
31 error[E0405]: cannot find trait `ThisTraitReallyDoesntExistInAnyModuleReally` in this scope
32 --> $DIR/issue-21221-1.rs:63:6
34 LL | impl ThisTraitReallyDoesntExistInAnyModuleReally for Foo {
35 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
37 error[E0405]: cannot find trait `Div` in this scope
38 --> $DIR/issue-21221-1.rs:68:6
40 LL | impl Div for Foo {
41 | ^^^ not found in this scope
43 help: consider importing this trait
45 LL | use std::ops::Div;
48 error: aborting due to 4 previous errors
50 Some errors have detailed explanations: E0405, E0412.
51 For more information about an error, try `rustc --explain E0405`.