diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2017-06-21 12:42:44 -0700 |
|---|---|---|
| committer | Jeffrey Seyfried <jeffrey.seyfried@gmail.com> | 2017-06-26 02:08:14 +0000 |
| commit | d316874c87e25669895c306658e15aa3746d66ab (patch) | |
| tree | 9ab96132aa38d62adb3098324caa9c209cf8134d /src/libsyntax/parse | |
| parent | 302935ff2a169d57cdde78f17591e13e8aa47f9e (diff) | |
| download | rust-d316874c87e25669895c306658e15aa3746d66ab.tar.gz rust-d316874c87e25669895c306658e15aa3746d66ab.zip | |
Update and fix a few tests
Diffstat (limited to 'src/libsyntax/parse')
| -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 f917eec2cd0..bd9a621c00c 100644 --- a/src/libsyntax/parse/mod.rs +++ b/src/libsyntax/parse/mod.rs @@ -687,7 +687,7 @@ mod tests { id: ast::DUMMY_NODE_ID, node: ast::ExprKind::Path(None, ast::Path { span: sp(0, 6), - segments: vec![ast::PathSegment::crate_root(), + segments: vec![ast::PathSegment::crate_root(sp(0, 2)), str2seg("a", 2, 3), str2seg("b", 5, 6)] }), |
