rust/compiler/rustc_query_system/src
Michael Baikov db5ed4bd79 Allow for try_force_from_dep_node to fail
The way it is implemented currently try_force_from_dep_node returns true
as long as there's a function to force the query. It wasn't this way
from the beginning, earlier version was producing forcing result and it
was changed in https://github.com/rust-lang/rust/pull/89978, I couldn't
find any comments addressing this change.

One way it can fail is by failing to recover the query in
DepNodeParams::recover - when we are trying to query something that no
longer exists in the current environment
2024-06-19 07:21:41 -04:00
..
dep_graph Allow for try_force_from_dep_node to fail 2024-06-19 07:21:41 -04:00
ich Simplify BodyId hashing. 2024-01-16 23:52:30 +00:00
query Use a dedicated type instead of a reference for the diagnostic context 2024-06-18 15:42:11 +00:00
cache.rs Remove a fishy Clone impl 2023-04-04 09:01:44 +00:00
error.rs Stop using String for error codes. 2024-01-29 07:41:41 +11:00
lib.rs Use tidy to sort crate attributes for all compiler crates. 2024-06-12 15:49:10 +10:00
values.rs Value recovery can take the whole CycleError 2024-01-08 20:30:10 +00:00