about summary refs log tree commit diff
path: root/compiler/rustc_incremental/src/assert_dep_graph.rs
diff options
context:
space:
mode:
authorpierwill <pierwill@users.noreply.github.com>2021-10-29 12:14:17 -0500
committerpierwill <pierwill@users.noreply.github.com>2021-12-07 10:10:52 -0600
commit41f76924d06ad4b267c0c1e5c83acf666c07f34e (patch)
treedd2f64ac01e6dcb71a69ba1460f62a785c44fee6 /compiler/rustc_incremental/src/assert_dep_graph.rs
parentbc9326d83d0d8368057ca8ff21c5260a4286f7ab (diff)
downloadrust-41f76924d06ad4b267c0c1e5c83acf666c07f34e.tar.gz
rust-41f76924d06ad4b267c0c1e5c83acf666c07f34e.zip
Document all public items in `rustc_incremental`
Also:

- Review and edit current docs
- Enforce documentation for crate

Co-authored-by: r00ster <r00ster91@protonmail.com>
Co-authored-by: Camille Gillot <gillot.camille@gmail.com>
Diffstat (limited to 'compiler/rustc_incremental/src/assert_dep_graph.rs')
-rw-r--r--compiler/rustc_incremental/src/assert_dep_graph.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_incremental/src/assert_dep_graph.rs b/compiler/rustc_incremental/src/assert_dep_graph.rs
index 571337a8dcb..7b5b015d5a5 100644
--- a/compiler/rustc_incremental/src/assert_dep_graph.rs
+++ b/compiler/rustc_incremental/src/assert_dep_graph.rs
@@ -52,6 +52,7 @@ use std::env;
 use std::fs::{self, File};
 use std::io::{BufWriter, Write};
 
+#[allow(missing_docs)]
 pub fn assert_dep_graph(tcx: TyCtxt<'_>) {
     tcx.dep_graph.with_ignore(|| {
         if tcx.sess.opts.debugging_opts.dump_dep_graph {
@@ -262,6 +263,7 @@ fn dump_graph(query: &DepGraphQuery) {
     }
 }
 
+#[allow(missing_docs)]
 pub struct GraphvizDepGraph<'q>(FxHashSet<&'q DepNode>, Vec<(&'q DepNode, &'q DepNode)>);
 
 impl<'a, 'q> dot::GraphWalk<'a> for GraphvizDepGraph<'q> {