rust/library/core/src
Christiaan Dirkx 8f27e3cb1b 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`

Also adds tests for these methods in a const context.

Tracking issue: #76654
2020-09-13 01:55:34 +02:00
..
alloc
array Rename MaybeUninit::read to assume_init_read. 2020-09-09 11:27:42 +02:00
char
convert
fmt rename MaybeUninit slice methods 2020-09-05 17:24:22 +02:00
future Auto merge of #74328 - yoshuawuyts:stabilize-future-readiness-fns, r=sfackler 2020-09-12 02:13:28 +00:00
hash
iter Capitalize safety comments 2020-09-08 22:26:44 -04:00
macros
mem Rollup merge of #76484 - fusion-engineering-forks:maybe-uninit-drop, r=RalfJung 2020-09-12 10:43:17 +02:00
num Capitalize safety comments 2020-09-08 22:26:44 -04:00
ops Rollup merge of #76615 - GuillaumeGomez:missing-examples-binary-ops, r=jyn514 2020-09-12 10:43:24 +02:00
prelude
ptr Rollup merge of #76497 - camelid:intra-doc-links-for-core-ptr, r=jyn514 2020-09-09 21:02:33 -07:00
slice Auto merge of #75021 - cuviper:array_chunks_mut, r=scottmcm 2020-09-12 03:59:46 +00:00
str
sync
task Auto merge of #74328 - yoshuawuyts:stabilize-future-readiness-fns, r=sfackler 2020-09-12 02:13:28 +00:00
unicode
any.rs
ascii.rs
bool.rs
borrow.rs
cell.rs
clone.rs
cmp.rs
default.rs
ffi.rs
hint.rs
internal_macros.rs
intrinsics.rs
lazy.rs Capitalize safety comments 2020-09-08 22:26:44 -04:00
lib.rs Make some methods of Pin unstable const 2020-09-13 01:55:34 +02:00
marker.rs
option.rs
panic.rs Auto merge of #76157 - ArekPiekarz:const_caller_location_tracking_issue, r=joshtriplett 2020-09-06 20:27:51 +00:00
panicking.rs
pin.rs Make some methods of Pin unstable const 2020-09-13 01:55:34 +02:00
primitive.rs
raw.rs
result.rs
time.rs Add saturating methods for Duration 2020-09-08 00:42:56 +01:00
tuple.rs
unit.rs