swc_common

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.