about summary refs log tree commit diff
path: root/src/librustc_interface
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2020-06-20 16:41:39 -0400
committerJoshua Nelson <jyn514@gmail.com>2020-07-15 10:54:05 -0400
commitb3187aabd20637e0bb9a930b4b930a079b785ca9 (patch)
treeda4564707606eae117a9ebdc07aee492144e470e /src/librustc_interface
parenta5275ff41521bb8e5a70f49f8ed420eaac7ed7de (diff)
Don't run analysis pass in rustdoc
- Explicitly check for missing docs
- Don't run any lints except those we explicitly specified
Diffstat (limited to 'src/librustc_interface')
-rw-r--r--src/librustc_interface/passes.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/librustc_interface/passes.rs b/src/librustc_interface/passes.rs
index 1862b47b9ad..b814283555b 100644
--- a/src/librustc_interface/passes.rs
+++ b/src/librustc_interface/passes.rs
@@ -410,7 +410,6 @@ fn configure_and_expand_inner<'a>(
     // anything, so switch everything to just looping
     resolver.resolve_crate(&krate, sess.opts.actually_rustdoc);
 
-    //let mut should_loop = sess.opts.actually_rustdoc;
     let mut should_loop = false;
     if let Some(PpMode::PpmSource(PpSourceMode::PpmEveryBodyLoops)) = sess.opts.pretty {
         should_loop |= true;