File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: deeca5d586bfaa4aa60246f671a8d611d38f6248
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: cecc13a704c3250e50b085c1433014a9bdf916df
4
+ refs/heads/snap-stage3: b20aa5b77d0184810aa6f5287aab34f65f6bde77
5
5
refs/heads/try: b160761e35efcd1207112b3b782c06633cf441a8
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ impl Clean<Crate> for visit_ast::RustdocVisitor {
83
83
84
84
Crate {
85
85
name : match find_pkgid ( self . attrs ) {
86
- Some ( n) => n,
86
+ Some ( n) => n. name ,
87
87
None => fail ! ( "rustdoc requires a `pkgid` crate attribute" ) ,
88
88
} ,
89
89
module : Some ( self . module . clean ( ) ) ,
Original file line number Diff line number Diff line change @@ -300,7 +300,7 @@ pub fn compile_input(context: &BuildContext,
300
300
pkg_id. version. to_str( ) ) . to_managed ( ) ) ;
301
301
302
302
debug ! ( "pkgid attr: {:?}" , pkgid_attr) ;
303
- crate . attrs = ~ [ attr:: mk_attr ( pkgid_attr) ] ;
303
+ crate . attrs. push ( attr:: mk_attr ( pkgid_attr) ) ;
304
304
}
305
305
306
306
debug ! ( "calling compile_crate_from_input, workspace = {},
You can’t perform that action at this time.
0 commit comments