Skip to content

Commit

Permalink
Auto merge of #123126 - oli-obk:feed_crate_num, r=davidtwco
Browse files Browse the repository at this point in the history
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
  • Loading branch information
bors committed Apr 23, 2024
2 parents ba2d0be + 8bbf01e commit f95cfb7
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit f95cfb7

Please sign in to comment.