You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead, this happened: unused macro definition: print #[warn(unused_macros)] on by default. NOTE: this only occurs when the macro is defined after usage.
That definition is unused. Your print! call in main is invoking https://doc.rust-lang.org/stable/std/macro.print.html. Unlike types, functions, etc, macros are only available lexically after they have been defined.
I tried this code:
I expected to see this happen: no errors/warnings
Instead, this happened: unused macro definition:
print
#[warn(unused_macros)]
on by default. NOTE: this only occurs when the macro is defined after usage.Meta
rustc --version --verbose
:Backtrace
The text was updated successfully, but these errors were encountered: