rust/compiler/rustc_interface/src
bors 244da22fab Auto merge of #123126 - oli-obk:feed_crate_num, r=davidtwco
Enable `CrateNum` query feeding via `TyCtxt`

Instead of having a magic function that violates some `TyCtxtFeed` invariants, add a `create_def` equivalent for `CrateNum`s.

Note that this still isn't tracked by the query system (unlike `create_def`), and that feeding most `CrateNum` queries for crates other than the local one will likely cause performance regressions.

These things should be attempted on their own separately, but this PR should stand on its own
2024-04-23 20:46:48 +00:00
..
callbacks.rs Give TRACK_DIAGNOSTIC a return value. 2024-03-01 13:27:47 +11:00
errors.rs Make incremental sessions identity no longer depend on the crate names provided by source code 2024-03-13 16:40:02 +01:00
interface.rs Move initialize_checked_jobserver. 2024-04-16 13:02:55 +10:00
lib.rs Stabilize generic NonZero. 2024-04-22 18:48:47 +02:00
passes.rs Do check_coroutine_obligations once per typeck root 2024-04-15 19:44:58 -04:00
proc_macro_decls.rs Move expansion of query macros in rustc_middle to rustc_middle::query 2023-05-15 08:49:13 +02:00
queries.rs Remove feed_local_crate in favor of creating the CrateNum via TyCtxt 2024-04-19 14:16:18 +00:00
tests.rs Mark @RUSTC_BUILTIN search path usage as unstable 2024-04-23 11:01:47 +02:00
util.rs Construct SourceMap at the same time as SessionGlobals. 2024-04-16 13:02:53 +10:00