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>
This commit is contained in:
parent
bc9326d83d
commit
41f76924d0
7 changed files with 63 additions and 13 deletions
|
@ -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> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue