Skip to content

Span doesn't implement PartialEq and Eq #1320

Closed
@c410-f3r

Description

@c410-f3r

Span doesn't implement PartialEq and Eq, making the extra-traits feature broken.
Should PartialEq and Eq be removed or is it better to wait for an implementation?

Related: #154

#[cfg_attr(feature = "extra-traits", derive(Debug, PartialEq, Eq))]
#[derive(Clone)]
pub struct Function {
pub name: String,
pub name_span: Span,
pub renamed_via_js_name: bool,
pub arguments: Vec<syn::ArgCaptured>,
pub ret: Option<syn::Type>,
pub rust_attrs: Vec<syn::Attribute>,
pub rust_vis: syn::Visibility,
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions