2018-08-08 14:28:26 +02:00
|
|
|
error[E0425]: cannot find function `fpriv` in this scope
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/glob-resolve1.rs:22:5
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | fpriv();
|
2018-08-08 14:28:26 +02:00
|
|
|
| ^^^^^ not found in this scope
|
2019-10-23 22:20:58 -07:00
|
|
|
|
|
2018-08-08 14:28:26 +02:00
|
|
|
help: possible candidate is found in another module, you can import it into scope
|
|
|
|
|
|
|
|
|
|
|
LL | use bar::fpriv;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
error[E0425]: cannot find function `epriv` in this scope
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/glob-resolve1.rs:23:5
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | epriv();
|
2018-08-08 14:28:26 +02:00
|
|
|
| ^^^^^ not found in this scope
|
2019-10-23 22:20:58 -07:00
|
|
|
|
|
2018-08-08 14:28:26 +02:00
|
|
|
help: possible candidate is found in another module, you can import it into scope
|
|
|
|
|
|
|
|
|
|
|
LL | use bar::epriv;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
error[E0423]: expected value, found enum `B`
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/glob-resolve1.rs:24:5
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | B;
|
2019-03-20 14:54:43 -04:00
|
|
|
| ^ help: try using the enum's variant: `B::B1`
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
|
error[E0425]: cannot find value `C` in this scope
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/glob-resolve1.rs:25:5
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | C;
|
2018-08-08 14:28:26 +02:00
|
|
|
| ^ not found in this scope
|
2019-10-23 22:20:58 -07:00
|
|
|
|
|
2018-08-08 14:28:26 +02:00
|
|
|
help: possible candidate is found in another module, you can import it into scope
|
|
|
|
|
|
|
|
|
|
|
LL | use bar::C;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
error[E0425]: cannot find function `import` in this scope
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/glob-resolve1.rs:26:5
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | import();
|
2018-08-08 14:28:26 +02:00
|
|
|
| ^^^^^^ not found in this scope
|
|
|
|
|
|
|
|
|
|
error[E0412]: cannot find type `A` in this scope
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/glob-resolve1.rs:28:11
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | foo::<A>();
|
2019-01-09 14:11:00 -05:00
|
|
|
| ^
|
2019-10-23 22:20:58 -07:00
|
|
|
|
|
2019-01-09 14:11:00 -05:00
|
|
|
help: an enum with a similar name exists
|
|
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | foo::<B>();
|
2019-01-09 14:11:00 -05:00
|
|
|
| ^
|
2018-08-08 14:28:26 +02:00
|
|
|
help: possible candidate is found in another module, you can import it into scope
|
|
|
|
|
|
|
|
|
|
|
LL | use bar::A;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
error[E0412]: cannot find type `C` in this scope
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/glob-resolve1.rs:29:11
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | foo::<C>();
|
2019-01-09 14:11:00 -05:00
|
|
|
| ^
|
2019-10-23 22:20:58 -07:00
|
|
|
|
|
2019-01-09 14:11:00 -05:00
|
|
|
help: an enum with a similar name exists
|
|
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | foo::<B>();
|
2019-01-09 14:11:00 -05:00
|
|
|
| ^
|
2018-08-08 14:28:26 +02:00
|
|
|
help: possible candidate is found in another module, you can import it into scope
|
|
|
|
|
|
|
|
|
|
|
LL | use bar::C;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
error[E0412]: cannot find type `D` in this scope
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/glob-resolve1.rs:30:11
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | foo::<D>();
|
2019-01-09 14:11:00 -05:00
|
|
|
| ^
|
2019-10-23 22:20:58 -07:00
|
|
|
|
|
2019-01-09 14:11:00 -05:00
|
|
|
help: an enum with a similar name exists
|
|
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | foo::<B>();
|
2019-01-09 14:11:00 -05:00
|
|
|
| ^
|
2018-08-08 14:28:26 +02:00
|
|
|
help: possible candidate is found in another module, you can import it into scope
|
|
|
|
|
|
|
|
|
|
|
LL | use bar::D;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
error: aborting due to 8 previous errors
|
|
|
|
|
|
2019-04-17 13:26:38 -04:00
|
|
|
Some errors have detailed explanations: E0412, E0423, E0425.
|
2018-08-08 14:28:26 +02:00
|
|
|
For more information about an error, try `rustc --explain E0412`.
|