auto merge of #13435 : edwardw/rust/span, r=brson
When reporting "consider removing this semicolon" hint message, the offending semicolon may come from macro call site instead of macro itself. Using the more appropriate span makes the hint more helpful. Closes #13428.
This commit is contained in:
commit
960bf8ce66
5 changed files with 54 additions and 18 deletions
|
@ -686,7 +686,7 @@ mod test {
|
|||
}),
|
||||
span: sp(17,18)},
|
||||
ast::DUMMY_NODE_ID),
|
||||
span: sp(17,18)}),
|
||||
span: sp(17,19)}),
|
||||
expr: None,
|
||||
id: ast::DUMMY_NODE_ID,
|
||||
rules: ast::DefaultBlock, // no idea
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue