rust/tests/ui/macros/macro-outer-attributes.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
426 B
Plaintext
Raw Normal View History

2018-08-08 12:28:26 +00:00
error[E0425]: cannot find function `bar` in module `a`
2018-12-25 15:56:47 +00:00
--> $DIR/macro-outer-attributes.rs:18:8
2018-08-08 12:28:26 +00:00
|
2019-03-09 12:03:44 +00:00
LL | a::bar();
2018-08-08 12:28:26 +00:00
| ^^^ not found in `a`
|
2022-05-03 02:07:47 +00:00
help: consider importing this function
2018-08-08 12:28:26 +00:00
|
2023-03-18 02:18:39 +00:00
LL + use b::bar;
2018-08-08 12:28:26 +00:00
|
2022-05-03 02:07:47 +00:00
help: if you import `bar`, refer to it directly
|
LL - a::bar();
LL + bar();
2022-06-08 17:34:57 +00:00
|
2018-08-08 12:28:26 +00:00
error: aborting due to previous error
For more information about this error, try `rustc --explain E0425`.