rust/compiler/rustc_query_system/src/dep_graph
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
..
debug.rs Move DepKind to rustc_query_system and define it as u16 2023-09-21 17:06:14 +02:00
dep_node.rs Remove extern crate rustc_data_structures from rustc_query_system. 2024-04-29 15:40:29 +10:00
edges.rs remove redundant imports 2023-12-10 10:56:22 +08:00
graph.rs Make the panic info more useful 2024-06-06 09:47:10 +00:00
mod.rs Allow for try_force_from_dep_node to fail 2024-06-19 07:21:41 -04:00
query.rs Move DepKind to rustc_query_system and define it as u16 2023-09-21 17:06:14 +02:00
README.md mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
serialized.rs Add a footer in FileEncoder and check for it in MemDecoder 2024-05-21 20:12:29 -04:00

To learn more about how dependency tracking works in rustc, see the [rustc guide].