]> git.proxmox.com Git - rustc.git/blame - tests/ui/resolve/issue-21221-1.stderr
New upstream version 1.74.1+dfsg1
[rustc.git] / tests / ui / resolve / issue-21221-1.stderr
CommitLineData
32a655c1 1error[E0405]: cannot find trait `Mul` in this scope
0731742a 2 --> $DIR/issue-21221-1.rs:43:6
32a655c1 3 |
0531ce1d 4LL | impl Mul for Foo {
32a655c1 5 | ^^^ not found in this scope
e74abb32 6 |
f9f354fc 7help: consider importing one of these items
041b39d2 8 |
353b0b11 9LL + use mul1::Mul;
041b39d2 10 |
353b0b11 11LL + use mul2::Mul;
041b39d2 12 |
353b0b11 13LL + use std::ops::Mul;
041b39d2 14 |
32a655c1
SL
15
16error[E0412]: cannot find type `Mul` in this scope
0731742a 17 --> $DIR/issue-21221-1.rs:58:16
32a655c1 18 |
0531ce1d 19LL | fn getMul() -> Mul {
32a655c1 20 | ^^^ not found in this scope
e74abb32 21 |
f9f354fc 22help: consider importing one of these items
041b39d2 23 |
353b0b11 24LL + use mul1::Mul;
041b39d2 25 |
353b0b11 26LL + use mul2::Mul;
041b39d2 27 |
353b0b11 28LL + use std::ops::Mul;
041b39d2 29 |
32a655c1
SL
30
31error[E0405]: cannot find trait `ThisTraitReallyDoesntExistInAnyModuleReally` in this scope
0731742a 32 --> $DIR/issue-21221-1.rs:63:6
32a655c1 33 |
0531ce1d 34LL | impl ThisTraitReallyDoesntExistInAnyModuleReally for Foo {
32a655c1
SL
35 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
36
37error[E0405]: cannot find trait `Div` in this scope
0731742a 38 --> $DIR/issue-21221-1.rs:68:6
32a655c1 39 |
0531ce1d 40LL | impl Div for Foo {
32a655c1 41 | ^^^ not found in this scope
e74abb32 42 |
f9f354fc 43help: consider importing this trait
041b39d2 44 |
353b0b11 45LL + use std::ops::Div;
041b39d2 46 |
32a655c1 47
0531ce1d 48error: aborting due to 4 previous errors
32a655c1 49
48663c56 50Some errors have detailed explanations: E0405, E0412.
0531ce1d 51For more information about an error, try `rustc --explain E0405`.