Files
rust/library/core/src
bors e0d9f79399 Auto merge of #80851 - m-ou-se:panic-2021, r=petrochenkov
Implement Rust 2021 panic

This implements the Rust 2021 versions of `panic!()`. See https://github.com/rust-lang/rust/issues/80162 and https://github.com/rust-lang/rfcs/pull/3007.

It does so by replacing `{std, core}::panic!()` by a bulitin macro that expands to either `$crate::panic::panic_2015!(..)` or `$crate::panic::panic_2021!(..)` depending on the edition of the caller.

This does not yet make std's panic an alias for core's panic on Rust 2021 as the RFC proposes. That will be a separate change: https://github.com/rust-lang/rust/pull/80879/commits/c5273bdfb266c35e8eab9413aa8d58d27fdbe114 That change is blocked on figuring out what to do with https://github.com/rust-lang/rust/issues/80846 first.
2021-02-01 10:25:31 +00:00
..
2021-01-29 02:27:20 +09:00
2020-10-31 16:26:06 +01:00
2021-01-31 21:50:47 +10:00
2021-01-26 21:57:50 +00:00
2021-01-23 16:54:56 +01:00
2021-01-13 14:51:27 +10:00
2020-12-09 23:13:24 +00:00
2020-11-22 13:45:14 +00:00
2021-01-16 10:40:36 +10:00
2021-01-03 19:54:54 +02:00
2021-01-25 14:58:09 +01:00
2020-11-19 19:23:36 -05:00
2021-01-25 14:58:09 +01:00