2018-08-08 07:28:26 -05:00
|
|
|
error[E0425]: cannot find function `bar` in module `a`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-outer-attributes.rs:18:8
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | a::bar();
|
2018-08-08 07:28:26 -05:00
|
|
|
| ^^^ not found in `a`
|
2019-10-24 00:20:58 -05:00
|
|
|
|
|
2023-03-10 15:39:14 -06:00
|
|
|
note: found an item that was configured out
|
|
|
|
--> $DIR/macro-outer-attributes.rs:9:14
|
|
|
|
|
|
|
|
|
LL | pub fn bar() { });
|
|
|
|
| ^^^
|
2022-05-02 21:07:47 -05:00
|
|
|
help: consider importing this function
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2023-03-17 21:18:39 -05:00
|
|
|
LL + use b::bar;
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2022-05-02 21:07:47 -05:00
|
|
|
help: if you import `bar`, refer to it directly
|
2022-04-23 18:41:36 -05:00
|
|
|
|
|
|
|
|
LL - a::bar();
|
|
|
|
LL + bar();
|
2022-06-08 12:34:57 -05:00
|
|
|
|
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0425`.
|