rust/library
ecstatic-morse 537ede465f
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
2020-09-21 20:40:49 -07:00
..
alloc Rollup merge of #72734 - pickfire:liballoc, r=KodrAus 2020-09-21 20:40:37 -07:00
backtrace@4083a90168
core Rollup merge of #76655 - CDirkx:const-pin, r=ecstatic-morse 2020-09-21 20:40:49 -07:00
panic_abort Rollup merge of #76866 - est31:master, r=lcnr 2020-09-20 15:51:50 +02:00
panic_unwind Rollup merge of #76866 - est31:master, r=lcnr 2020-09-20 15:51:50 +02:00
proc_macro
profiler_builtins Fix warning whe building profiler_builtins crate 2020-09-04 15:10:29 +02:00
rtstartup
rustc-std-workspace-alloc
rustc-std-workspace-core
rustc-std-workspace-std
std Rollup merge of #76275 - FedericoPonzi:immutable-write-impl-73836, r=dtolnay 2020-09-21 20:40:44 -07:00
stdarch@718175b34a Update stdarch 2020-09-15 17:26:20 +02:00
term
test Rollup merge of #77009 - est31:dogfood_total_cmp, r=lcnr 2020-09-21 15:30:49 +02:00
unwind library/unwind: Add missing ) 2020-09-17 07:10:10 -07:00