Skip to content

Commit dd327f5

Browse files
committed
rollback comments
1 parent ced5d6d commit dd327f5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

compiler/rustc_interface/src/passes.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -431,12 +431,12 @@ fn write_out_deps(tcx: TyCtxt<'_>, outputs: &OutputFilenames, out_filenames: &[P
431431

432432
// The entries will be used to declare dependencies beween files in a
433433
// Makefile-like output, so the iteration order does not matter.
434+
#[allow(rustc::potential_query_instability)]
434435
let extra_tracked_files =
435436
file_depinfo.iter().map(|path_sym| normalize_path(PathBuf::from(path_sym.as_str())));
436437
files.extend(extra_tracked_files);
437438

438439
// We also need to track used PGO profile files
439-
#[allow(rustc::potential_query_instability)]
440440
if let Some(ref profile_instr) = sess.opts.cg.profile_use {
441441
files.push(normalize_path(profile_instr.as_path().to_path_buf()));
442442
}

compiler/rustc_lint/src/context.rs

+2
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,8 @@ impl LintStore {
431431
// Note: find_best_match_for_name depends on the sort order of its input vector.
432432
// To ensure deterministic output, sort elements of the lint_groups hash map.
433433
// Also, never suggest deprecated lint groups.
434+
// We will soon sort, so the initial order does not matter.
435+
#[allow(rustc::potential_query_instability)]
434436
let mut groups: Vec<_> = self
435437
.lint_groups
436438
.iter()

0 commit comments

Comments
 (0)