about summary refs log tree commit diff
path: root/compiler/rustc_driver
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2020-11-30 22:54:20 -0500
committerJoshua Nelson <jyn514@gmail.com>2020-12-01 12:54:03 -0500
commit878cfb5a4abe70f6f813ae68216efe935ea40f5d (patch)
treed9d7dcd96804858f49cb6e1ce906d9bb9448d43c /compiler/rustc_driver
parente37f25aa3f356546ab851e394d5598fc575eabda (diff)
downloadrust-878cfb5a4abe70f6f813ae68216efe935ea40f5d.tar.gz
rust-878cfb5a4abe70f6f813ae68216efe935ea40f5d.zip
Fix `unknown-crate` when using self-profile with rustdoc
... by removing a duplicate `crate_name` field in `interface::Config`,
making it clear that rustdoc should be passing it to `config::Options`
instead.
Diffstat (limited to 'compiler/rustc_driver')
-rw-r--r--compiler/rustc_driver/src/lib.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_driver/src/lib.rs b/compiler/rustc_driver/src/lib.rs
index c1741bfaaba..b3466f49b9f 100644
--- a/compiler/rustc_driver/src/lib.rs
+++ b/compiler/rustc_driver/src/lib.rs
@@ -223,7 +223,6 @@ fn run_compiler(
             file_loader: None,
             diagnostic_output,
             stderr: None,
-            crate_name: None,
             lint_caps: Default::default(),
             register_lints: None,
             override_queries: None,
@@ -307,7 +306,6 @@ fn run_compiler(
         file_loader,
         diagnostic_output,
         stderr: None,
-        crate_name: None,
         lint_caps: Default::default(),
         register_lints: None,
         override_queries: None,