diff options
| author | bors <bors@rust-lang.org> | 2017-10-15 14:00:39 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-10-15 14:00:39 +0000 |
| commit | 2689fd2402590961dae32f35369a8685c89022fb (patch) | |
| tree | dbcee88cdfaed1aab6b3266af17f5cdf8f0db5bb /src/liballoc_jemalloc | |
| parent | df095cefe28f9fc781e8da02f655903600343506 (diff) | |
| parent | d0cb4d09cd4eb7626130cc9e59ef69dbfec04d0e (diff) | |
| download | rust-2689fd2402590961dae32f35369a8685c89022fb.tar.gz rust-2689fd2402590961dae32f35369a8685c89022fb.zip | |
Auto merge of #45228 - theotherjimmy:ensure-query, r=michaelwoerister
incr.comp.: Introduce `ensure` and `ensure` typeck_tables_of
Resolves #45210
In this Pull Request we introduce the `ensure` query/function. `ensure` has the
semantics and type of the function `Q1` below:
```rust
fn Q1::ensure(K){
Q(K);
}
```
Further, `ensure` avoids the need to load the result from disk (or execute the
provider, if we are not storing the results of Q to disk).
@nikomatsakis
Diffstat (limited to 'src/liballoc_jemalloc')
0 files changed, 0 insertions, 0 deletions
