Add info for no_hash panic.
This commit is contained in:
parent
6e4971d96f
commit
76d573b656
1 changed files with 3 additions and 1 deletions
|
@ -412,7 +412,9 @@ where
|
||||||
if let Some((cached_result, _)) = cache.lookup(&key) {
|
if let Some((cached_result, _)) = cache.lookup(&key) {
|
||||||
let Some(hasher) = query.hash_result() else {
|
let Some(hasher) = query.hash_result() else {
|
||||||
panic!(
|
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)
|
(query.format_value())(&cached_result)
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue