regex_macro false positive #2586
Labels
E-help-wanted
Call for participation: Help is requested to fix this issue.
good-first-issue
These issues are a good way to get started with Clippy
When defining a custom
regex!
macro to use the lazy_static pattern more easily, the regex_macro picks it up.This occurs with nom and any of it's
re_*_static!
macros, as they all expand to use an internal (hidden)regex!
macro, which then expands to thelazy_static!
macro.The text was updated successfully, but these errors were encountered: