Skip to content

Commit 3036acb

Browse files
pcwaltonpnkfelix
authored andcommitted
---
yaml --- r: 149810 b: refs/heads/try2 c: 15d9acc h: refs/heads/master v: v3
1 parent 311e395 commit 3036acb

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: 43c07244b32d7aea97e02ededa5797308515e26b
8+
refs/heads/try2: 15d9acc46cafba48e0c85b3d02c09d7b91ec98e9
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/src/librustdoc/clean.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ impl Clean<ExternalCrate> for cstore::crate_metadata {
110110
ExternalCrate {
111111
name: self.name.to_owned(),
112112
attrs: decoder::get_crate_attributes(self.data()).clean()
113+
.move_iter()
114+
.collect(),
113115
}
114116
}
115117
}

branches/try2/src/librustdoc/core.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ fn get_ast_and_resolve(cpath: &Path,
5353
let sessopts = @driver::session::Options {
5454
maybe_sysroot: Some(@os::self_exe_path().unwrap().dir_path()),
5555
addl_lib_search_paths: @RefCell::new(libs),
56-
crate_types: ~[driver::session::CrateTypeDylib],
56+
crate_types: vec!(driver::session::CrateTypeDylib),
5757
.. (*rustc::driver::session::basic_options()).clone()
5858
};
5959

branches/try2/src/librustdoc/test.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ pub fn run(input: &str, matches: &getopts::Matches) -> int {
4444
let sessopts = @session::Options {
4545
maybe_sysroot: Some(@os::self_exe_path().unwrap().dir_path()),
4646
addl_lib_search_paths: libs,
47-
crate_types: ~[session::CrateTypeDylib],
47+
crate_types: vec!(session::CrateTypeDylib),
4848
.. (*session::basic_options()).clone()
4949
};
5050

@@ -106,8 +106,8 @@ fn runtest(test: &str, cratename: &str, libs: HashSet<Path>, should_fail: bool)
106106
let sessopts = @session::Options {
107107
maybe_sysroot: Some(@os::self_exe_path().unwrap().dir_path()),
108108
addl_lib_search_paths: @RefCell::new(libs),
109-
crate_types: ~[session::CrateTypeExecutable],
110-
output_types: ~[link::OutputTypeExe],
109+
crate_types: vec!(session::CrateTypeExecutable),
110+
output_types: vec!(link::OutputTypeExe),
111111
cg: session::CodegenOptions {
112112
prefer_dynamic: true,
113113
.. session::basic_codegen_options()

0 commit comments

Comments
 (0)