about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'compiler')
-rw-r--r--compiler/rustc_query_system/src/query/plumbing.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/rustc_query_system/src/query/plumbing.rs b/compiler/rustc_query_system/src/query/plumbing.rs
index c122c7d722d..bce01debc53 100644
--- a/compiler/rustc_query_system/src/query/plumbing.rs
+++ b/compiler/rustc_query_system/src/query/plumbing.rs
@@ -412,7 +412,9 @@ where
         if let Some((cached_result, _)) = cache.lookup(&key) {
             let Some(hasher) = query.hash_result() else {
                 panic!(
-                    "fed query later has its value computed. The already cached value: {}",
+                    "no_hash fed query later has its value computed.\n\
+                    Remove `no_hash` modifier to allow recomputation.\n\
+                    The already cached value: {}",
                     (query.format_value())(&cached_result)
                 );
             };