2017-01-11 16:18:08 -06:00
|
|
|
error[E0405]: cannot find trait `Mul` in this scope
|
2016-11-30 16:35:25 -06:00
|
|
|
--> $DIR/issue-21221-1.rs:53:6
|
|
|
|
|
|
|
|
|
53 | impl Mul for Foo {
|
2017-01-11 16:18:08 -06:00
|
|
|
| ^^^ not found in this scope
|
2017-05-10 06:19:29 -05:00
|
|
|
help: possible candidates are found in other modules, you can import them into scope
|
2017-06-28 01:16:04 -05:00
|
|
|
|
|
2017-06-25 15:11:22 -05:00
|
|
|
11 | use mul1::Mul;
|
2017-07-05 18:39:06 -05:00
|
|
|
|
|
2017-06-28 01:16:04 -05:00
|
|
|
11 | use mul2::Mul;
|
2017-07-05 18:39:06 -05:00
|
|
|
|
|
2017-06-28 01:16:04 -05:00
|
|
|
11 | use std::ops::Mul;
|
|
|
|
|
|
2016-11-30 16:35:25 -06:00
|
|
|
|
2017-01-11 16:18:08 -06:00
|
|
|
error[E0412]: cannot find type `Mul` in this scope
|
2016-11-30 16:35:25 -06:00
|
|
|
--> $DIR/issue-21221-1.rs:72:16
|
|
|
|
|
|
|
|
|
72 | fn getMul() -> Mul {
|
2017-01-11 16:18:08 -06:00
|
|
|
| ^^^ not found in this scope
|
2017-05-10 06:19:29 -05:00
|
|
|
help: possible candidates are found in other modules, you can import them into scope
|
2017-06-28 01:16:04 -05:00
|
|
|
|
|
2017-06-25 15:11:22 -05:00
|
|
|
11 | use mul1::Mul;
|
2017-07-05 18:39:06 -05:00
|
|
|
|
|
2017-06-28 01:16:04 -05:00
|
|
|
11 | use mul2::Mul;
|
2017-07-05 18:39:06 -05:00
|
|
|
|
|
2017-06-28 01:16:04 -05:00
|
|
|
11 | use mul3::Mul;
|
2017-07-05 18:39:06 -05:00
|
|
|
|
|
2017-06-28 01:16:04 -05:00
|
|
|
11 | use mul4::Mul;
|
2017-07-05 18:39:06 -05:00
|
|
|
|
|
2017-05-10 06:19:29 -05:00
|
|
|
and 2 other candidates
|
2016-11-30 16:35:25 -06:00
|
|
|
|
2017-01-11 16:18:08 -06:00
|
|
|
error[E0405]: cannot find trait `ThisTraitReallyDoesntExistInAnyModuleReally` in this scope
|
2016-11-30 16:35:25 -06:00
|
|
|
--> $DIR/issue-21221-1.rs:83:6
|
|
|
|
|
|
|
|
|
83 | impl ThisTraitReallyDoesntExistInAnyModuleReally for Foo {
|
2017-01-11 16:18:08 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
2016-11-30 16:35:25 -06:00
|
|
|
|
2017-01-11 16:18:08 -06:00
|
|
|
error[E0405]: cannot find trait `Div` in this scope
|
2016-11-30 16:35:25 -06:00
|
|
|
--> $DIR/issue-21221-1.rs:88:6
|
|
|
|
|
|
|
|
|
88 | impl Div for Foo {
|
2017-01-11 16:18:08 -06:00
|
|
|
| ^^^ not found in this scope
|
2017-05-10 06:19:29 -05:00
|
|
|
help: possible candidate is found in another module, you can import it into scope
|
2017-06-28 01:16:04 -05:00
|
|
|
|
|
2017-06-25 15:11:22 -05:00
|
|
|
11 | use std::ops::Div;
|
2017-07-05 18:39:06 -05:00
|
|
|
|
|
2016-11-30 16:35:25 -06:00
|
|
|
|
|
|
|
error: cannot continue compilation due to previous error
|
|
|
|
|