diff options
| author | ecstatic-morse <ecstaticmorse@gmail.com> | 2020-09-21 20:40:49 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-21 20:40:49 -0700 |
| commit | 537ede465f25c80c99286aa7eb79a5295f345bc0 (patch) | |
| tree | 222beb8230abb27c65d75a3a984368dfdb63b0b7 /src/test/codegen/src-hash-algorithm | |
| parent | 30f1bab7e6282a8e5ab644be15d12d5a5ca26e37 (diff) | |
| parent | e3c6e46168758642f0bab64da374f93ed21b1cd0 (diff) | |
| download | rust-537ede465f25c80c99286aa7eb79a5295f345bc0.tar.gz rust-537ede465f25c80c99286aa7eb79a5295f345bc0.zip | |
Rollup merge of #76655 - CDirkx:const-pin, r=ecstatic-morse
Make some methods of `Pin` unstable const Make the following methods unstable const under the `const_pin` feature: - `new` - `new_unchecked` - `into_inner` - `into_inner_unchecked` - `get_ref` - `into_ref` - `get_mut` - `get_unchecked_mut` Of these, `into_inner` and `into_inner_unchecked` require the unstable `const_precise_live_drops`. Also adds tests for these methods in a const context. Tracking issue: #76654 r? @ecstatic-morse
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
