diff options
Diffstat (limited to 'components/plugins/jstraceable.rs')
-rw-r--r-- | components/plugins/jstraceable.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/plugins/jstraceable.rs b/components/plugins/jstraceable.rs index b2b9746740c..6b031b52c2c 100644 --- a/components/plugins/jstraceable.rs +++ b/components/plugins/jstraceable.rs @@ -77,7 +77,7 @@ fn jstraceable_substructure(cx: &mut ExtCtxt, trait_span: Span, substr: &Substru let mut stmts = Vec::new(); let fields = match *substr.fields { - Struct(ref fs) | EnumMatching(_, _, ref fs) => fs, + Struct(_, ref fs) | EnumMatching(_, _, ref fs) => fs, _ => cx.span_bug(trait_span, "impossible substructure in `jstraceable`") }; |