diff options
Diffstat (limited to 'src/librustdoc/lib.rs')
| -rw-r--r-- | src/librustdoc/lib.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librustdoc/lib.rs b/src/librustdoc/lib.rs index 24b3e1128ea..a79c8b30bba 100644 --- a/src/librustdoc/lib.rs +++ b/src/librustdoc/lib.rs @@ -28,7 +28,6 @@ extern crate time; extern crate log; extern crate libc; -use std::local_data; use std::io; use std::io::{File, MemWriter}; use std::str; @@ -276,7 +275,7 @@ fn rust_input(cratefile: &str, matches: &getopts::Matches) -> Output { &cr) }).unwrap(); info!("finished with rustc"); - local_data::set(analysiskey, analysis); + analysiskey.replace(Some(analysis)); // Process all of the crate attributes, extracting plugin metadata along // with the passes which we are supposed to run. |
