From 1f8e4ac58db97831ec8e5e6701eb039d02c6fab4 Mon Sep 17 00:00:00 2001 From: Alejandra Gonzalez Date: Thu, 23 Jul 2026 21:19:24 +0200 Subject: [PATCH] Add `feedable` query modifier --- src/queries/incremental-compilation-in-detail.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/queries/incremental-compilation-in-detail.md b/src/queries/incremental-compilation-in-detail.md index b6bac0fea3..823090c24a 100644 --- a/src/queries/incremental-compilation-in-detail.md +++ b/src/queries/incremental-compilation-in-detail.md @@ -485,6 +485,12 @@ respect to incremental compilation: be cached to disk for "local" keys, because values for external crates should be loadable from crate metadata instead. + - `feedable` - The query is not actually a function, but its own arena type. This + is done to declare an arena, "feed" the information + to store at a later point in the compilation (for example, when we actually have a + `Crate` object available), and then retrieve it as any other crate. Thus, function + definitions for these queries do not exist. + [mod]: ../query.html#adding-a-new-kind-of-query @@ -553,4 +559,4 @@ See for more information. [query-model]: ./query-evaluation-model-in-detail.html -[try_mark_green]: https://doc.rust-lang.org/nightly/nightly-rustc/src/rustc_middle/dep_graph/graph.rs.html +[try_mark_green]: https://doc.rust-lang.org/nightly/nightly-rustc/src/rustc_middle/dep_graph/graph.rs.html \ No newline at end of file