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