Skip to content

Commit 1504c2c

Browse files
committed
---
yaml --- r: 34523 b: refs/heads/snap-stage3 c: cfa62cd h: refs/heads/master i: 34521: 65c9377 34519: 5fad5fa v: v3
1 parent 1f061b4 commit 1504c2c

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 1b1700f44b88225bc3557e1ca497644b9852e268
4+
refs/heads/snap-stage3: cfa62cd5ee65a466e88a6fabf92079e9b85f43e5
55
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/librustc/front/test.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,10 +364,9 @@ fn mk_test_desc_rec(cx: test_ctxt, test: test) -> @ast::expr {
364364
debug!("encoding %s", ast_util::path_name_i(path,
365365
cx.sess.parse_sess.interner));
366366

367-
// XXX: Bad copy of `path`.
368367
let name_lit: ast::lit =
369368
nospan(ast::lit_str(@ast_util::path_name_i(
370-
copy path, cx.sess.parse_sess.interner)));
369+
path, cx.sess.parse_sess.interner)));
371370
let name_expr_inner: @ast::expr =
372371
@{id: cx.sess.next_node_id(),
373372
callee_id: cx.sess.next_node_id(),

branches/snap-stage3/src/libsyntax/ast_util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ pure fn dummy_sp() -> span { return mk_sp(BytePos(0), BytePos(0)); }
4646

4747

4848

49-
pure fn path_name_i(idents: ~[ident], intr: @token::ident_interner) -> ~str {
49+
pure fn path_name_i(idents: &[ident], intr: @token::ident_interner) -> ~str {
5050
// FIXME: Bad copies (#2543 -- same for everything else that says "bad")
5151
str::connect(idents.map(|i| *intr.get(*i)), ~"::")
5252
}

0 commit comments

Comments
 (0)