1
Fork 0

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.
This commit is contained in:
Joshua Nelson 2020-11-30 22:54:20 -05:00
parent e37f25aa3f
commit 878cfb5a4a
7 changed files with 8 additions and 16 deletions

View file

@ -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,