rust/library
bors b873fa6d42 Auto merge of #76136 - CDirkx:const-result, r=dtolnay
Stabilize some Result methods as const

Stabilize the following methods of Result as const:
 - `is_ok`
 - `is_err`
 - `as_ref`

A test is also included, analogous to the test for `const_option`.

These methods are currently const under the unstable feature `const_result` (tracking issue: #67520).
I believe these methods to be eligible for stabilization because of the stabilization of #49146 (Allow if and match in constants) and the trivial implementations, see also: [PR#75463](https://github.com/rust-lang/rust/pull/75463) and [PR#76135](https://github.com/rust-lang/rust/pull/76135).

Note: these methods are the only methods currently under the `const_result` feature, thus this PR results in the removal of the feature.

Related: #76225
2020-09-20 13:07:11 +00:00
..
alloc Rollup merge of #76722 - ssomers:btree_send_sync, r=Mark-Simulacrum 2020-09-20 12:08:12 +02:00
backtrace@4083a90168
core Auto merge of #76136 - CDirkx:const-result, r=dtolnay 2020-09-20 13:07:11 +00:00
panic_abort support panic=abort in Miri 2020-09-18 13:15:54 +02:00
panic_unwind Rollup merge of #76798 - alistair23:alistair/rv32-linux, r=jyn514 2020-09-19 11:47:56 +02:00
proc_macro Respect -Z proc-macro-backtrace flag for panics inside libproc_macro 2020-09-03 12:13:26 -04:00
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 #76845 - Amjad50:fix-intra-docs-links, r=jyn514 2020-09-20 12:08:33 +02:00
stdarch@718175b34a Update stdarch 2020-09-15 17:26:20 +02:00
term
test Prefer https link for wikipedia URLs 2020-08-23 10:02:42 +00:00
unwind library/unwind: Add missing ) 2020-09-17 07:10:10 -07:00