2017-01-12 01:18:08 +03:00
|
|
|
error[E0405]: cannot find trait `Mul` in this scope
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/issue-21221-1.rs:43:6
|
2016-12-01 01:35:25 +03:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | impl Mul for Foo {
|
2017-01-12 01:18:08 +03:00
|
|
|
| ^^^ not found in this scope
|
2019-10-23 22:20:58 -07:00
|
|
|
|
|
2020-05-04 18:12:06 -04:00
|
|
|
help: consider importing one of these items
|
2017-06-27 23:16:04 -07:00
|
|
|
|
|
2023-03-18 02:18:39 +00:00
|
|
|
LL + use mul1::Mul;
|
2017-07-05 16:39:06 -07:00
|
|
|
|
|
2023-03-18 02:18:39 +00:00
|
|
|
LL + use mul2::Mul;
|
2017-07-05 16:39:06 -07:00
|
|
|
|
|
2023-03-18 02:18:39 +00:00
|
|
|
LL + use std::ops::Mul;
|
2017-06-27 23:16:04 -07:00
|
|
|
|
|
2016-12-01 01:35:25 +03:00
|
|
|
|
2017-01-12 01:18:08 +03:00
|
|
|
error[E0412]: cannot find type `Mul` in this scope
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/issue-21221-1.rs:58:16
|
2016-12-01 01:35:25 +03:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | fn getMul() -> Mul {
|
2017-01-12 01:18:08 +03:00
|
|
|
| ^^^ not found in this scope
|
2019-10-23 22:20:58 -07:00
|
|
|
|
|
2020-05-04 18:12:06 -04:00
|
|
|
help: consider importing one of these items
|
2017-06-27 23:16:04 -07:00
|
|
|
|
|
2023-03-18 02:18:39 +00:00
|
|
|
LL + use mul1::Mul;
|
2017-07-05 16:39:06 -07:00
|
|
|
|
|
2023-03-18 02:18:39 +00:00
|
|
|
LL + use mul2::Mul;
|
2017-07-05 16:39:06 -07:00
|
|
|
|
|
2023-03-18 02:18:39 +00:00
|
|
|
LL + use std::ops::Mul;
|
2017-07-05 16:39:06 -07:00
|
|
|
|
|
2016-12-01 01:35:25 +03:00
|
|
|
|
2017-01-12 01:18:08 +03:00
|
|
|
error[E0405]: cannot find trait `ThisTraitReallyDoesntExistInAnyModuleReally` in this scope
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/issue-21221-1.rs:63:6
|
2016-12-01 01:35:25 +03:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | impl ThisTraitReallyDoesntExistInAnyModuleReally for Foo {
|
2017-01-12 01:18:08 +03:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
2016-12-01 01:35:25 +03:00
|
|
|
|
2017-01-12 01:18:08 +03:00
|
|
|
error[E0405]: cannot find trait `Div` in this scope
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/issue-21221-1.rs:68:6
|
2016-12-01 01:35:25 +03:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | impl Div for Foo {
|
2017-01-12 01:18:08 +03:00
|
|
|
| ^^^ not found in this scope
|
2019-10-23 22:20:58 -07:00
|
|
|
|
|
2020-05-04 18:12:06 -04:00
|
|
|
help: consider importing this trait
|
2017-06-27 23:16:04 -07:00
|
|
|
|
|
2023-03-18 02:18:39 +00:00
|
|
|
LL + use std::ops::Div;
|
2017-07-05 16:39:06 -07:00
|
|
|
|
|
2016-12-01 01:35:25 +03:00
|
|
|
|
2018-03-15 16:13:47 +01:00
|
|
|
error: aborting due to 4 previous errors
|
2016-12-01 01:35:25 +03:00
|
|
|
|
2019-04-17 13:26:38 -04:00
|
|
|
Some errors have detailed explanations: E0405, E0412.
|
2018-03-15 16:13:47 +01:00
|
|
|
For more information about an error, try `rustc --explain E0405`.
|