diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2021-03-23 12:59:53 +0100 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2021-03-23 18:11:04 +0100 |
| commit | 31447f6f087e2654d2927f04488303500bec3280 (patch) | |
| tree | f26c9fbf3370fce1c59df7c8895a4521080716e5 /compiler/rustc_passes/src | |
| parent | 1aad7e738e10e3e1315c219cc3d865fb710fa894 (diff) | |
| download | rust-31447f6f087e2654d2927f04488303500bec3280.tar.gz rust-31447f6f087e2654d2927f04488303500bec3280.zip | |
Fix comment.
Diffstat (limited to 'compiler/rustc_passes/src')
| -rw-r--r-- | compiler/rustc_passes/src/check_attr.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_passes/src/check_attr.rs b/compiler/rustc_passes/src/check_attr.rs index a86de6fc6f3..85add83f88b 100644 --- a/compiler/rustc_passes/src/check_attr.rs +++ b/compiler/rustc_passes/src/check_attr.rs @@ -1018,7 +1018,8 @@ impl CheckAttrVisitor<'tcx> { } } - /// 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 + /// option is passed to the compiler. fn check_rustc_dirty_clean(&self, attr: &Attribute) -> bool { if self.tcx.sess.opts.debugging_opts.query_dep_graph { true |
