Skip to content

Commit 634f07d

Browse files
Fix the "extra-traits" feature of macro-support, allowing it to build again (#2674)
1 parent d6d056c commit 634f07d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/macro-support/src/parser.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ struct AttributeParseState {
2222
}
2323

2424
/// Parsed attributes from a `#[wasm_bindgen(..)]`.
25-
#[cfg_attr(feature = "extra-traits", derive(Debug, PartialEq, Eq))]
25+
#[cfg_attr(feature = "extra-traits", derive(Debug))]
2626
pub struct BindgenAttrs {
2727
/// List of parsed attributes
2828
pub attrs: Vec<(Cell<bool>, BindgenAttr)>,
@@ -229,7 +229,7 @@ impl Parse for BindgenAttrs {
229229
macro_rules! gen_bindgen_attr {
230230
($(($method:ident, $($variants:tt)*),)*) => {
231231
/// The possible attributes in the `#[wasm_bindgen]`.
232-
#[cfg_attr(feature = "extra-traits", derive(Debug, PartialEq, Eq))]
232+
#[cfg_attr(feature = "extra-traits", derive(Debug))]
233233
pub enum BindgenAttr {
234234
$($($variants)*,)*
235235
}

0 commit comments

Comments
 (0)