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
..
2020-07-27 19:51:13 -05:00
2020-07-27 19:51:13 -05:00
2020-07-27 19:51:13 -05:00
2020-07-27 19:51:13 -05:00
2020-07-27 19:51:13 -05:00
2020-07-27 19:51:13 -05:00
2020-07-27 19:51:13 -05:00
2020-07-27 19:51:13 -05:00
2020-07-27 19:51:13 -05:00
2020-07-27 19:51:13 -05:00
2020-07-27 19:51:13 -05:00
2020-08-19 20:08:02 +01:00
2020-08-18 00:34:54 +02:00
2020-09-13 01:55:34 +02:00
2020-07-27 19:51:13 -05:00
2020-07-27 19:51:13 -05:00
2020-07-27 19:51:13 -05:00
2020-07-27 19:51:13 -05:00
2020-09-13 01:55:34 +02:00
2020-08-19 10:41:51 +02:00
2020-09-04 19:51:29 -07:00
2020-07-27 19:51:13 -05:00
2020-07-27 19:51:13 -05:00
2020-09-08 00:42:56 +01:00
2020-07-27 19:51:13 -05:00