diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-07-14 14:14:21 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-14 14:14:21 +0530 |
| commit | e275abf92e9688d6d630af49dcc84cd0b1b39168 (patch) | |
| tree | 03c4fda203fec5de3cab1cd7175e1d69f0e14f62 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs | |
| parent | 5a6fe3ff588d2164520a06ef0d27ff6396f5245b (diff) | |
| parent | 1c3f62c7501016149b8133a20117704bd947ccda (diff) | |
| download | rust-e275abf92e9688d6d630af49dcc84cd0b1b39168.tar.gz rust-e275abf92e9688d6d630af49dcc84cd0b1b39168.zip | |
Rollup merge of #98705 - WaffleLapkin:closure_binder, r=cjgillot
Implement `for<>` lifetime binder for closures
This PR implements RFC 3216 ([TI](https://github.com/rust-lang/rust/issues/97362)) and allows code like the following:
```rust
let _f = for<'a, 'b> |a: &'a A, b: &'b B| -> &'b C { b.c(a) };
// ^^^^^^^^^^^--- new!
```
cc ``@Aaron1011`` ``@cjgillot``
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions
