rust/library/core/src
bors 5d04957a4b Auto merge of #79278 - mark-i-m:stabilize-or-pattern, r=nikomatsakis
Stabilize or_patterns (RFC 2535, 2530, 2175)

closes #54883

This PR stabilizes the or_patterns feature in Rust 1.53.

This is blocked on the following (in order):
- [x] The crater run in https://github.com/rust-lang/rust/pull/78935#issuecomment-731564021
- [x] The resolution of the unresolved questions and a second crater run (https://github.com/rust-lang/rust/pull/78935#issuecomment-735412705)
    - It looks like we will need to pursue some sort of edition-based transition for `:pat`.
- [x] Nomination and discussion by T-lang
- [x] Implement new behavior for `:pat` based on consensus (https://github.com/rust-lang/rust/pull/80100).
- [ ] An FCP on stabilization

EDIT: Stabilization report is in https://github.com/rust-lang/rust/pull/79278#issuecomment-772815177
2021-03-22 19:48:27 +00:00
..
alloc Fix const stability since versions. 2021-03-15 14:39:18 +00:00
array implement TrustedRandomAccess for array::IntoIter 2021-03-21 20:43:48 +01:00
char Stabilize assoc_char_funcs and assoc_char_consts 2021-03-19 20:35:08 -07:00
convert FloatToInit: Replacing round_unchecked_to --> to_int_unchecked 2021-03-02 12:38:22 -08:00
fmt Stabilize Arguments::as_str 2021-02-14 17:48:51 -05:00
future Use more std:: instead of core:: in docs for consistency, add more intra doc links 2020-12-02 00:41:53 +01:00
hash Rollup merge of #82434 - jyn514:hash, r=JohnTitor 2021-03-18 00:28:07 +01:00
iter Rollup merge of #83272 - kornelski:takedocs, r=dtolnay 2021-03-22 15:21:26 +01:00
macros Apply suggestions from code review 2021-03-18 21:15:19 +01:00
mem Auto merge of #83053 - oli-obk:const_stab_version, r=m-ou-se 2021-03-21 16:21:39 +00:00
num Auto merge of #82680 - jturner314:div_euclid-docs, r=JohnTitor 2021-03-22 09:37:50 +00:00
ops Rollup merge of #82683 - jturner314:int-div-rem-doc-panic, r=nikomatsakis 2021-03-22 15:21:24 +01:00
prelude Deprecate RustcEncodable and RustcDecodable. 2021-03-15 20:16:16 +01:00
ptr Rollup merge of #80771 - thomcc:nonnull-refmut, r=dtolnay 2021-03-22 02:20:24 +01:00
slice Rollup merge of #82771 - emilio:iter-mut-as-slice, r=m-ou-se 2021-03-22 02:20:30 +01:00
str SplitInclusive is public API 2021-03-22 09:07:52 +00:00
stream Remove Stream::next 2021-01-23 16:54:56 +01:00
sync Fix const stability since versions. 2021-03-15 14:39:18 +00:00
task stabilize the poll_map feature 2021-01-13 14:51:27 +10:00
unicode Add a check for ASCII characters in to_upper and to_lower 2021-02-26 11:39:36 -06:00
any.rs Fix use of bare trait objects everywhere 2021-03-18 02:18:58 +03:00
ascii.rs Fixed some intra-docs links in library/core 2020-09-18 07:49:29 +08:00
bool.rs Stabilise then 2020-11-22 13:45:14 +00:00
borrow.rs Fix borrow and deref 2021-03-03 11:23:29 +01:00
cell.rs Fix const stability since versions. 2021-03-15 14:39:18 +00:00
clone.rs Fix core tests 2021-03-03 11:22:49 +01:00
cmp.rs Added #[repr(transparent)] to core::cmp::Reverse 2021-02-08 12:07:59 +00:00
default.rs Add diagnostic item to Default trait 2021-03-04 10:14:48 -08:00
ffi.rs Convert primitives to use intra-doc links 2021-02-25 20:31:53 -05:00
hint.rs Fixed documentation error 2021-01-03 19:54:54 +02:00
internal_macros.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
intrinsics.rs Auto merge of #82122 - bstrie:dep4real, r=dtolnay 2021-03-17 19:39:03 +00:00
lazy.rs Capitalize safety comments 2020-09-08 22:26:44 -04:00
lib.rs core/std/alloc: stabilize or_patterns 2021-03-19 19:45:42 -05:00
marker.rs Auto merge of #77893 - petertodd:2020-impl-default-for-phantompinned, r=dtolnay 2020-11-23 07:00:30 +00:00
option.rs Rename Option::get_or_insert_default 2021-03-10 09:07:16 -06:00
panic.rs Implement new panic!() behaviour for Rust 2021. 2021-01-25 13:48:11 +01:00
panicking.rs Fix panic message of assert_failed_inner 2021-03-13 18:50:43 +08:00
pin.rs Remove many unnecessary manual link resolves from library 2020-12-31 11:54:32 -08:00
primitive.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
raw.rs Use intra-doc-links in core::{raw, ffi, pin} 2020-08-22 22:25:27 +02:00
result.rs Rollup merge of #82130 - jhpratt:const-option-result, r=RalfJung 2021-03-07 10:41:09 +09:00
time.rs Rollup merge of #81465 - joshtriplett:duration-formatting-documentation, r=m-ou-se 2021-03-14 13:07:27 +09:00
tuple.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
unit.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00