Weird error messages when I miss to define macro name. #127612
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Current output
Desired output
Rationale and extra context
I am wondering if I should import something to use
macro_rules!
inside lib.rs.The error output shows that rust compiler doesn't recognize
macro_rules!
macro so it should be imported from anywhere else.Other cases
No response
Rust Version
Anything else?
No response
The text was updated successfully, but these errors were encountered: