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
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?
I notice that ast::Function stores name: String and name_span: Span as separate fields. I would recommend storing these as one field of type proc_macro2::Ident which does have a PartialEq impl, or if the name is not guaranteed to be a legal Rust identifier/keyword then writing your own type similar to Ident to hold the name and span and provide PartialEq and any other traits you need.
Span
doesn't implementPartialEq
andEq
, making theextra-traits
feature broken.Should
PartialEq
andEq
be removed or is it better to wait for an implementation?Related: #154
wasm-bindgen/crates/backend/src/ast.rs
Lines 200 to 210 in 9f6c2a6
The text was updated successfully, but these errors were encountered: