Skip to content

Commit ef53940

Browse files
committed
---
yaml --- r: 40543 b: refs/heads/dist-snap c: 32763ca h: refs/heads/master i: 40541: db74af9 40539: fdadb6d 40535: 12ecfd3 40527: 6ef9184 40511: 9f5d114 v: v3
1 parent a6498f7 commit ef53940

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: a810c03263670238bccd64cabb12a23a46e3a278
99
refs/heads/incoming: e90142e536c150df0d9b4b2f11352152177509b5
10-
refs/heads/dist-snap: cd6300e938f24f9ae830cd984b83112af0b2ccdc
10+
refs/heads/dist-snap: 32763caa600857bc0116a9221e4a94431b5b6907
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1313
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0

branches/dist-snap/src/libsyntax/ext/auto_serialize.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ priv impl ext_ctxt {
265265
let path = @{span: span, global: false, idents: ~[nm],
266266
rp: None, types: ~[]};
267267
@{id: self.next_id(),
268-
node: ast::pat_ident(ast::bind_by_implicit_ref,
268+
node: ast::pat_ident(ast::bind_by_ref(ast::m_imm),
269269
path,
270270
None),
271271
span: span}
@@ -887,7 +887,7 @@ fn ser_variant(
887887

888888
let pat_node = if pats.is_empty() {
889889
ast::pat_ident(
890-
ast::bind_by_implicit_ref,
890+
ast::bind_by_ref(ast::m_imm),
891891
cx.path(span, ~[v_name]),
892892
None
893893
)

branches/dist-snap/src/test/run-pass/auto_serialize.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#[forbid(deprecated_pattern)];
2+
13
extern mod std;
24

35
// These tests used to be separate files, but I wanted to refactor all
@@ -32,7 +34,7 @@ fn test_ebml<A:
3234
let ebml_w = &EBWriter::Serializer(wr);
3335
a1.serialize(ebml_w)
3436
};
35-
let d = EBReader::Doc(@bytes);
37+
let d = EBReader::Doc(@move bytes);
3638
let a2: A = deserialize(&EBReader::Deserializer(d));
3739
assert *a1 == a2;
3840
}

0 commit comments

Comments
 (0)