1 error[E0405]: cannot find trait `Mul` in this scope
2 --> $DIR/issue-21221-1.rs:53:6
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
12 LL | use std::ops::Mul;
15 error[E0412]: cannot find type `Mul` in this scope
16 --> $DIR/issue-21221-1.rs:68:16
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
30 and 2 other candidates
32 error[E0405]: cannot find trait `ThisTraitReallyDoesntExistInAnyModuleReally` in this scope
33 --> $DIR/issue-21221-1.rs:73:6
35 LL | impl ThisTraitReallyDoesntExistInAnyModuleReally for Foo {
36 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
38 error[E0405]: cannot find trait `Div` in this scope
39 --> $DIR/issue-21221-1.rs:78:6
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
45 LL | use std::ops::Div;
48 error: aborting due to 4 previous errors
50 Some errors occurred: E0405, E0412.
51 For more information about an error, try `rustc --explain E0405`.