]> git.lizzy.rs Git - rust.git/blobdiff - src/libsyntax/parse/mod.rs
Rollup merge of #49117 - nivkner:fixme_fixup3, r=estebank
[rust.git] / src / libsyntax / parse / mod.rs
index fdb3b91fbbf04bd18bc2412bd895d0843e76af19..202dc03eaa41d511452cb28880e194460d610dc9 100644 (file)
@@ -711,7 +711,7 @@ fn str2seg(s: &str, lo: u32, hi: u32) -> ast::PathSegment {
                         id: ast::DUMMY_NODE_ID,
                         node: ast::ExprKind::Path(None, ast::Path {
                             span: sp(0, 6),
-                            segments: vec![ast::PathSegment::crate_root(sp(0, 2)),
+                            segments: vec![ast::PathSegment::crate_root(sp(0, 0)),
                                         str2seg("a", 2, 3),
                                         str2seg("b", 5, 6)]
                         }),