We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1aad7e7 commit 31447f6Copy full SHA for 31447f6
compiler/rustc_passes/src/check_attr.rs
@@ -1018,7 +1018,8 @@ impl CheckAttrVisitor<'tcx> {
1018
}
1019
1020
1021
- /// Checks if `#[rustc_legacy_const_generics]` is applied to a function and has a valid argument.
+ /// Checks that the dep-graph debugging attributes are only present when the query-dep-graph
1022
+ /// option is passed to the compiler.
1023
fn check_rustc_dirty_clean(&self, attr: &Attribute) -> bool {
1024
if self.tcx.sess.opts.debugging_opts.query_dep_graph {
1025
true
0 commit comments