Fix clippy lints in librustdoc
This commit is contained in:
parent
56694b0453
commit
4614ca4541
27 changed files with 194 additions and 221 deletions
|
@ -775,7 +775,7 @@ fn main_options(options: config::Options) -> MainResult {
|
|||
// We need to hold on to the complete resolver, so we cause everything to be
|
||||
// cloned for the analysis passes to use. Suboptimal, but necessary in the
|
||||
// current architecture.
|
||||
let resolver = core::create_resolver(queries, &sess);
|
||||
let resolver = core::create_resolver(queries, sess);
|
||||
|
||||
if sess.has_errors() {
|
||||
sess.fatal("Compilation failed, aborting rustdoc");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue