librustdoc: Fix librustdoc for the `Vec<T>` change.

This commit is contained in:
Patrick Walton 2014-03-05 11:04:36 -08:00 committed by Felix S. Klock II
parent 43c07244b3
commit 15d9acc46c
3 changed files with 6 additions and 4 deletions

View File

@ -110,6 +110,8 @@ impl Clean<ExternalCrate> for cstore::crate_metadata {
ExternalCrate {
name: self.name.to_owned(),
attrs: decoder::get_crate_attributes(self.data()).clean()
.move_iter()
.collect(),
}
}
}

View File

@ -53,7 +53,7 @@ fn get_ast_and_resolve(cpath: &Path,
let sessopts = @driver::session::Options {
maybe_sysroot: Some(@os::self_exe_path().unwrap().dir_path()),
addl_lib_search_paths: @RefCell::new(libs),
crate_types: ~[driver::session::CrateTypeDylib],
crate_types: vec!(driver::session::CrateTypeDylib),
.. (*rustc::driver::session::basic_options()).clone()
};

View File

@ -44,7 +44,7 @@ pub fn run(input: &str, matches: &getopts::Matches) -> int {
let sessopts = @session::Options {
maybe_sysroot: Some(@os::self_exe_path().unwrap().dir_path()),
addl_lib_search_paths: libs,
crate_types: ~[session::CrateTypeDylib],
crate_types: vec!(session::CrateTypeDylib),
.. (*session::basic_options()).clone()
};
@ -106,8 +106,8 @@ fn runtest(test: &str, cratename: &str, libs: HashSet<Path>, should_fail: bool)
let sessopts = @session::Options {
maybe_sysroot: Some(@os::self_exe_path().unwrap().dir_path()),
addl_lib_search_paths: @RefCell::new(libs),
crate_types: ~[session::CrateTypeExecutable],
output_types: ~[link::OutputTypeExe],
crate_types: vec!(session::CrateTypeExecutable),
output_types: vec!(link::OutputTypeExe),
cg: session::CodegenOptions {
prefer_dynamic: true,
.. session::basic_codegen_options()