]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/core.rs
Keep all theme-updating logic together
[rust.git] / src / librustdoc / core.rs
index da0df596c41e34f7ca88e07b1e7b0811b75ed22d..2153e7d8c9ad9623193aed1fc98994b270e8f788 100644 (file)
@@ -225,7 +225,6 @@ pub(crate) fn create_config(
     // Add the doc cfg into the doc build.
     cfgs.push("doc".to_string());
 
-    let cpath = Some(input.clone());
     let input = Input::File(input);
 
     // By default, rustdoc ignores all lints.
@@ -277,7 +276,6 @@ pub(crate) fn create_config(
         crate_cfg: interface::parse_cfgspecs(cfgs),
         crate_check_cfg: interface::parse_check_cfg(check_cfgs),
         input,
-        input_path: cpath,
         output_file: None,
         output_dir: None,
         file_loader: None,