swc_eq_ignore_macros

Derive Macro EqIgnoreSpan

source
#[derive(EqIgnoreSpan)]
{
    // Attributes available to this derive:
    #[not_spanned]
    #[use_eq]
}
Expand description

Derives swc_common::EqIgnoreSpan.

Fields annotated with #[not_spanned] or #[use_eq] will use == instead of eq_ignore_span.