Skip to content

Commit

Permalink
Auto merge of #115920 - Zoxc:depkind-u16, r=cjgillot
Browse files Browse the repository at this point in the history
Move `DepKind` to `rustc_query_system` and define it as `u16`

This moves the `DepKind` type to `rustc_query_system` where it's defined with an inner `u16` field. This decouples it from `rustc_middle` and is a step towards letting other crates define dep kinds. It also allows some type parameters to be removed. The `DepKind` trait is replaced with a `Deps` trait. That's used when some operations or information about dep kinds which is unavailable in `rustc_query_system` are still needed.

r? `@cjgillot`
  • Loading branch information
bors committed Sep 22, 2023
2 parents f23c91f + 4e7baa4 commit 4766f8c
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 4766f8c

Please sign in to comment.