diff options
| author | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2025-04-29 12:04:33 +0200 |
|---|---|---|
| committer | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2025-04-29 12:04:33 +0200 |
| commit | 08b27ffbe89c26d0307b524c4f920bcc704ba23d (patch) | |
| tree | 4982b352d9668e4ee3262620b400d1700fb96eba /compiler/rustc_query_system | |
| parent | cff9efde748b6027fe9f135ddd5aaf8a3276601d (diff) | |
| download | rust-08b27ffbe89c26d0307b524c4f920bcc704ba23d.tar.gz rust-08b27ffbe89c26d0307b524c4f920bcc704ba23d.zip | |
Add some comments
Diffstat (limited to 'compiler/rustc_query_system')
| -rw-r--r-- | compiler/rustc_query_system/src/query/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_query_system/src/query/mod.rs b/compiler/rustc_query_system/src/query/mod.rs index a87f598674e..855769dacc3 100644 --- a/compiler/rustc_query_system/src/query/mod.rs +++ b/compiler/rustc_query_system/src/query/mod.rs @@ -152,6 +152,8 @@ pub enum QuerySideEffect { pub trait QueryContext: HasDepContext { type QueryInfo: Clone; + /// Gets a jobserver reference which is used to release then acquire + /// a token while waiting on a query. fn jobserver_proxy(&self) -> &Proxy; fn next_job_id(self) -> QueryJobId; |
