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

52 lines
1.4 KiB
Plaintext
Raw Normal View History

error[E0405]: cannot find trait `Mul` in this scope
--> $DIR/issue-21221-1.rs:53:6
|
2018-02-22 18:42:32 -06:00
LL | impl Mul for Foo {
| ^^^ 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
|
11 | use mul1::Mul;
|
2017-06-28 01:16:04 -05:00
11 | use mul2::Mul;
|
2017-06-28 01:16:04 -05:00
11 | use std::ops::Mul;
|
error[E0412]: cannot find type `Mul` in this scope
2017-11-20 06:13:27 -06:00
--> $DIR/issue-21221-1.rs:68:16
|
2018-02-22 18:42:32 -06:00
LL | fn getMul() -> Mul {
| ^^^ 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
|
11 | use mul1::Mul;
|
2017-06-28 01:16:04 -05:00
11 | use mul2::Mul;
|
2017-06-28 01:16:04 -05:00
11 | use mul3::Mul;
|
2017-06-28 01:16:04 -05:00
11 | use mul4::Mul;
|
2017-05-10 06:19:29 -05:00
and 2 other candidates
error[E0405]: cannot find trait `ThisTraitReallyDoesntExistInAnyModuleReally` in this scope
2017-11-20 06:13:27 -06:00
--> $DIR/issue-21221-1.rs:73:6
|
2018-02-22 18:42:32 -06:00
LL | impl ThisTraitReallyDoesntExistInAnyModuleReally for Foo {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
error[E0405]: cannot find trait `Div` in this scope
2017-11-20 06:13:27 -06:00
--> $DIR/issue-21221-1.rs:78:6
|
2018-02-22 18:42:32 -06:00
LL | impl Div for Foo {
| ^^^ 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
|
11 | use std::ops::Div;
|
error: cannot continue compilation due to previous error
2018-02-19 14:40:25 -06:00
You've got a few errors: E0405, E0412
If you want more information on an error, try using "rustc --explain E0405"