fix the span the error reports under
This commit is contained in:
1 parent
3655e7c89e
commit
c04ce2901e
1 file changed
+1
-1
@@ -250,7 +250,7 @@ impl Parse for ComponentField {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
if input.peek(LitStr) || input.peek(Ident) {
|
if input.peek(LitStr) || input.peek(Ident) {
|
||||||
missing_trailing_comma!(input.span());
|
missing_trailing_comma!(content.span());
|
||||||
}
|
}
|
||||||
Ok(Self { name, content })
|
Ok(Self { name, content })
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user