fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error[E0405]: cannot find trait `Mul` in this scope 2 --> $DIR/issue-21221-1.rs:43:6 3 | 4LL | impl Mul for Foo { 5 | ^^^ not found in this scope 6help: possible candidates are found in other modules, you can import them into scope 7 | 8LL | use mul1::Mul; 9 | 10LL | use mul2::Mul; 11 | 12LL | use std::ops::Mul; 13 | 14 15error[E0412]: cannot find type `Mul` in this scope 16 --> $DIR/issue-21221-1.rs:58:16 17 | 18LL | fn getMul() -> Mul { 19 | ^^^ not found in this scope 20help: possible candidates are found in other modules, you can import them into scope 21 | 22LL | use mul1::Mul; 23 | 24LL | use mul2::Mul; 25 | 26LL | use mul3::Mul; 27 | 28LL | use mul4::Mul; 29 | 30and 2 other candidates 31 32error[E0405]: cannot find trait `ThisTraitReallyDoesntExistInAnyModuleReally` in this scope 33 --> $DIR/issue-21221-1.rs:63:6 34 | 35LL | impl ThisTraitReallyDoesntExistInAnyModuleReally for Foo { 36 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 37 38error[E0405]: cannot find trait `Div` in this scope 39 --> $DIR/issue-21221-1.rs:68:6 40 | 41LL | impl Div for Foo { 42 | ^^^ not found in this scope 43help: possible candidate is found in another module, you can import it into scope 44 | 45LL | use std::ops::Div; 46 | 47 48error: aborting due to 4 previous errors 49 50Some errors have detailed explanations: E0405, E0412. 51For more information about an error, try `rustc --explain E0405`.