Skip to content

Commit 6acdb45

Browse files
committed
---
yaml --- r: 10695 b: refs/heads/snap-stage3 c: e9f1928 h: refs/heads/master i: 10693: 6f900aa 10691: 774ffeb 10687: 9eb5911 v: v3
1 parent 0b621c6 commit 6acdb45

File tree

4 files changed

+12
-24
lines changed

4 files changed

+12
-24
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
refs/heads/master: 2898dcc5d97da9427ac367542382b6239d9c0bbf
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 25b8b35c57206a70360aca9d9432bb62105da505
4+
refs/heads/snap-stage3: e9f19283b3e52db2f591b8c2d5c80e50d2a988a3
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/snap-stage3/src/rustdoc/markdown_pass.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -639,18 +639,6 @@ fn should_write_variant_list_with_signatures() {
639639
\n* `c(int)` - a\n\n");
640640
}
641641

642-
#[test]
643-
fn should_write_resource_header() {
644-
let markdown = test::render("resource r(a: bool) { }");
645-
assert str::contains(markdown, "## Resource `r`");
646-
}
647-
648-
#[test]
649-
fn should_write_resource_signature() {
650-
let markdown = test::render("resource r(a: bool) { }");
651-
assert str::contains(markdown, "\n resource r(a: bool)\n");
652-
}
653-
654642
fn write_iface(ctxt: ctxt, doc: doc::ifacedoc) {
655643
write_common(ctxt, doc.desc(), doc.sections());
656644
write_methods(ctxt, doc.methods);

branches/snap-stage3/src/rustdoc/sort_item_type_pass.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ fn mk_pass() -> pass {
99
doc::consttag(_) { 0 }
1010
doc::tytag(_) { 1 }
1111
doc::enumtag(_) { 2 }
12-
doc::ifacetag(_) { 4 }
13-
doc::impltag(_) { 5 }
14-
doc::fntag(_) { 6 }
15-
doc::modtag(_) { 7 }
16-
doc::nmodtag(_) { 8 }
12+
doc::ifacetag(_) { 3 }
13+
doc::impltag(_) { 4 }
14+
doc::fntag(_) { 5 }
15+
doc::modtag(_) { 6 }
16+
doc::nmodtag(_) { 7 }
1717
}
1818
}
1919

@@ -38,10 +38,10 @@ fn test() {
3838
assert doc.cratemod().items[0].name() == "iconst";
3939
assert doc.cratemod().items[1].name() == "itype";
4040
assert doc.cratemod().items[2].name() == "ienum";
41-
assert doc.cratemod().items[4].name() == "iiface";
42-
assert doc.cratemod().items[5].name() == "iimpl";
43-
assert doc.cratemod().items[6].name() == "ifn";
44-
assert doc.cratemod().items[7].name() == "imod";
45-
assert doc.cratemod().items[8].name() == "inmod";
41+
assert doc.cratemod().items[3].name() == "iiface";
42+
assert doc.cratemod().items[4].name() == "iimpl";
43+
assert doc.cratemod().items[5].name() == "ifn";
44+
assert doc.cratemod().items[6].name() == "imod";
45+
assert doc.cratemod().items[7].name() == "inmod";
4646
}
4747
}

branches/snap-stage3/src/test/bench/task-perf-alloc-unwind.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ fn recurse_or_fail(depth: int, st: option<st>) {
7878
tuple: (@cons((), first(st.tuple)),
7979
~cons((), @*second(st.tuple))),
8080
vec: st.vec + [@cons((), st.vec.last())],
81-
res: r(@cons((), *(st.res)))
81+
res: r(@cons((), st.res._l))
8282
})
8383
}
8484
};

0 commit comments

Comments
 (0)