fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
1.2 KiB51 linesraw
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: consider importing one of these items
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: consider importing one of these items
23   |
24LL + use mul1::Mul;
25   |
26LL + use mul2::Mul;
27   |
28LL + use std::ops::Mul;
29   |
30
31error[E0405]: cannot find trait `ThisTraitReallyDoesntExistInAnyModuleReally` in this scope
32  --> $DIR/issue-21221-1.rs:63:6
33   |
34LL | impl ThisTraitReallyDoesntExistInAnyModuleReally for Foo {
35   |      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
36
37error[E0405]: cannot find trait `Div` in this scope
38  --> $DIR/issue-21221-1.rs:68:6
39   |
40LL | impl Div for Foo {
41   |      ^^^ not found in this scope
42   |
43help: consider importing this trait
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`.