Skip to content

Commit 47883aa

Browse files
committed
---
yaml --- r: 88616 b: refs/heads/snap-stage3 c: b20aa5b h: refs/heads/master v: v3
1 parent b796fcf commit 47883aa

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
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: deeca5d586bfaa4aa60246f671a8d611d38f6248
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: cecc13a704c3250e50b085c1433014a9bdf916df
4+
refs/heads/snap-stage3: b20aa5b77d0184810aa6f5287aab34f65f6bde77
55
refs/heads/try: b160761e35efcd1207112b3b782c06633cf441a8
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/librustdoc/clean.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ impl Clean<Crate> for visit_ast::RustdocVisitor {
8383

8484
Crate {
8585
name: match find_pkgid(self.attrs) {
86-
Some(n) => n,
86+
Some(n) => n.name,
8787
None => fail!("rustdoc requires a `pkgid` crate attribute"),
8888
},
8989
module: Some(self.module.clean()),

branches/snap-stage3/src/librustpkg/util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ pub fn compile_input(context: &BuildContext,
300300
pkg_id.version.to_str()).to_managed());
301301

302302
debug!("pkgid attr: {:?}", pkgid_attr);
303-
crate.attrs = ~[attr::mk_attr(pkgid_attr)];
303+
crate.attrs.push(attr::mk_attr(pkgid_attr));
304304
}
305305

306306
debug!("calling compile_crate_from_input, workspace = {},

0 commit comments

Comments
 (0)