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
@w1th0utnam3 recently implemented support for replacing literals in macro in #2. This functionality has an "escape hatch" for disabling macro replacement, used like this:
Furthermore it should be documented what kind of macros are supported. Support of visiting a macro depends on its syntax. Only assert!-like (with a single expression as argument) and vec!-like (with , or ; separated expressions as arguments) are currently supported.
@w1th0utnam3 recently implemented support for replacing literals in macro in #2. This functionality has an "escape hatch" for disabling macro replacement, used like this:
#[replace_numeric_literals(literal as i32, visit_macros=false)]
By default, macros are visited. We need to document this behavior before we publish an updated version on Crates.io.
The text was updated successfully, but these errors were encountered: