os-rust/src/test/ui/resolve/issue-21221-1.stderr

55 lines
1.4 KiB
Text
Raw Normal View History

error[E0405]: cannot find trait `Mul` in this scope
2018-12-25 08:56:47 -07:00
--> $DIR/issue-21221-1.rs:43:6
|
2018-02-23 03:42:32 +03:00
LL | impl Mul for Foo {
| ^^^ not found in this scope
|
2017-05-10 13:19:29 +02:00
help: possible candidates are found in other modules, you can import them into scope
2017-06-27 23:16:04 -07:00
|
2018-02-25 02:01:39 +03:00
LL | use mul1::Mul;
|
2018-02-25 02:01:39 +03:00
LL | use mul2::Mul;
|
2018-02-25 02:01:39 +03:00
LL | use std::ops::Mul;
2017-06-27 23:16:04 -07: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
|
2018-02-23 03:42:32 +03:00
LL | fn getMul() -> Mul {
| ^^^ not found in this scope
|
2017-05-10 13:19:29 +02:00
help: possible candidates are found in other modules, you can import them into scope
2017-06-27 23:16:04 -07:00
|
2018-02-25 02:01:39 +03:00
LL | use mul1::Mul;
|
2018-02-25 02:01:39 +03:00
LL | use mul2::Mul;
|
2018-02-25 02:01:39 +03:00
LL | use mul3::Mul;
|
2018-02-25 02:01:39 +03:00
LL | use mul4::Mul;
|
and 2 other candidates
error[E0405]: cannot find trait `ThisTraitReallyDoesntExistInAnyModuleReally` in this scope
2018-12-25 08:56:47 -07:00
--> $DIR/issue-21221-1.rs:63:6
|
2018-02-23 03:42:32 +03:00
LL | impl ThisTraitReallyDoesntExistInAnyModuleReally for Foo {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
error[E0405]: cannot find trait `Div` in this scope
2018-12-25 08:56:47 -07:00
--> $DIR/issue-21221-1.rs:68:6
|
2018-02-23 03:42:32 +03:00
LL | impl Div for Foo {
| ^^^ not found in this scope
|
2017-05-10 13:19:29 +02:00
help: possible candidate is found in another module, you can import it into scope
2017-06-27 23:16:04 -07:00
|
2018-02-25 02:01:39 +03:00
LL | use std::ops::Div;
|
2018-03-15 16:13:47 +01:00
error: aborting due to 4 previous errors
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`.