diff options
| author | bors <bors@rust-lang.org> | 2014-04-21 18:41:35 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-04-21 18:41:35 -0700 |
| commit | 960bf8ce66d4d3563e1a03f2dbd161857ac0f398 (patch) | |
| tree | e9eefbc907ed99f606d7a99a9fe581862d3c318c /src/libsyntax/parse/mod.rs | |
| parent | 4401f88688eec9052f292ce3b3b8cb96da2853f2 (diff) | |
| parent | cc5be28b322498f9c7c802cfa825e9f95363243d (diff) | |
| download | rust-960bf8ce66d4d3563e1a03f2dbd161857ac0f398.tar.gz rust-960bf8ce66d4d3563e1a03f2dbd161857ac0f398.zip | |
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.
Diffstat (limited to 'src/libsyntax/parse/mod.rs')
| -rw-r--r-- | src/libsyntax/parse/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/mod.rs b/src/libsyntax/parse/mod.rs index 4586980d893..122cc37dfb6 100644 --- a/src/libsyntax/parse/mod.rs +++ b/src/libsyntax/parse/mod.rs @@ -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 |
