mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
537ede465f
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 |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |