We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af40667 commit e6cfde1Copy full SHA for e6cfde1
1 file changed
compiler/rustc_incremental/src/persist/rdr_hashes.rs
@@ -8,6 +8,9 @@ use rustc_span::{Span, Symbol};
8
use tracing::debug;
9
10
pub(crate) fn check_rdr_test_attrs(tcx: TyCtxt<'_>) {
11
+ if !tcx.sess.opts.unstable_opts.query_dep_graph {
12
+ return;
13
+ }
14
// can't add the attributes without opting into this feature
15
if !tcx.features().rustc_attrs() {
16
return;
0 commit comments