Skip to content

Commit 31447f6

Browse files
committed
Fix comment.
1 parent 1aad7e7 commit 31447f6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler/rustc_passes/src/check_attr.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1018,7 +1018,8 @@ impl CheckAttrVisitor<'tcx> {
10181018
}
10191019
}
10201020

1021-
/// Checks if `#[rustc_legacy_const_generics]` is applied to a function and has a valid argument.
1021+
/// Checks that the dep-graph debugging attributes are only present when the query-dep-graph
1022+
/// option is passed to the compiler.
10221023
fn check_rustc_dirty_clean(&self, attr: &Attribute) -> bool {
10231024
if self.tcx.sess.opts.debugging_opts.query_dep_graph {
10241025
true

0 commit comments

Comments
 (0)