From 31fcda170a0671195b7a1506b09c5f655fc4d7e9 Mon Sep 17 00:00:00 2001 From: Joshua Nelson Date: Mon, 3 Aug 2020 21:13:13 -0400 Subject: Fix async-std at the price of breaking half the test suite - Don't mark impl trait as an error --- src/librustdoc/core.rs | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/librustdoc/core.rs') diff --git a/src/librustdoc/core.rs b/src/librustdoc/core.rs index cbd0ca0de64..eab310ddf89 100644 --- a/src/librustdoc/core.rs +++ b/src/librustdoc/core.rs @@ -449,13 +449,6 @@ pub fn run_core(options: RustdocOptions) -> (clean::Crate, RenderInfo, RenderOpt let mut global_ctxt = abort_on_err(queries.global_ctxt(), sess).take(); global_ctxt.enter(|tcx| { - // Certain queries assume that some checks were run elsewhere - // (see https://github.com/rust-lang/rust/pull/73566#issuecomment-656954425), - // so type-check everything other than function bodies in this crate before running lints. - // NOTE: this does not call `tcx.analysis()` so that we won't - // typeck function bodies or run the default rustc lints. - // (see `override_queries` in the `config`) - let _ = rustc_typeck::check_crate(tcx); tcx.sess.abort_if_errors(); sess.time("missing_docs", || { rustc_lint::check_crate(tcx, rustc_lint::builtin::MissingDoc::new); -- cgit 1.4.1-3-g733a5