rust/src/test
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: c5273bdfb2 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
..
assembly
auxiliary
codegen Consider Scalar to be a bool only if its unsigned 2021-01-30 00:49:10 +02:00
codegen-units
debuginfo
incremental
mir-opt Auto merge of #80851 - m-ou-se:panic-2021, r=petrochenkov 2021-02-01 10:25:31 +00:00
pretty
run-make
run-make-fulldeps Auto merge of #80851 - m-ou-se:panic-2021, r=petrochenkov 2021-02-01 10:25:31 +00:00
run-pass-valgrind
rustdoc rustdoc: Render HRTB correctly for bare functions 2021-01-27 19:55:46 -08:00
rustdoc-js
rustdoc-js-std Add search index test for primitive types 2021-01-27 10:05:06 +01:00
rustdoc-json
rustdoc-ui Balance sidebar Deref cycle check with main content 2021-01-30 14:23:50 +00:00
rustfix
ui Auto merge of #80851 - m-ou-se:panic-2021, r=petrochenkov 2021-02-01 10:25:31 +00:00
ui-fulldeps
COMPILER_TESTS.md