about summary refs log tree commit diff
path: root/library/core/src/panic.rs
AgeCommit message (Collapse)AuthorLines
2025-08-12Revert "Partially outline code inside the panic! macro".Mara Bos-45/+0
Without any tests/benchmarks that show some improvement, it's hard to know whether the change had any positive effect at all. (And if it did, whether that effect is still achieved today.)
2024-11-27update cfgsBoxy-2/+1
2024-11-27replace placeholder versionBoxy-1/+1
2024-11-18const_panic: inline in bootstrap builds to avoid f16/f128 crashesRalf Jung-1/+1
2024-11-13const_panic: don't wrap it in a separate functionRalf Jung-4/+5
2024-11-05add const_eval_select macro to reduce redundancyRalf Jung-0/+56
also move internal const_panic helpers to a better location
2024-09-15simplify abort_unwindChristopher Durham-7/+2
Co-authored-by: David Tolnay <dtolnay@gmail.com>
2024-09-14add core::panic::abort_unwindChristopher Durham-0/+30
2024-07-30Auto merge of #128083 - Mark-Simulacrum:bump-bootstrap, r=albertlarsan68bors-1/+1
Bump bootstrap compiler to new beta https://forge.rust-lang.org/release/process.html#master-bootstrap-update-t-2-day-tuesday
2024-07-29Reformat `use` declarations.Nicholas Nethercote-2/+1
The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options.
2024-07-28Update CURRENT_RUSTC_VERSIONMark Rousskov-1/+1
2024-07-26Fix doc nitsJohn Arundel-1/+1
Many tiny changes to stdlib doc comments to make them consistent (for example "Returns foo", rather than "Return foo", per RFC1574), adding missing periods, paragraph breaks, backticks for monospace style, and other minor nits. https://github.com/rust-lang/rfcs/blob/master/text/1574-more-api-documentation-conventions.md#appendix-a-full-conventions-text
2024-06-20Stabilize `PanicInfo::message()` and `PanicMessage`StackOverflowExcept1on-1/+1
2024-06-17Add PanicMessage type for PanicInfo::message().Mara Bos-0/+2
2024-06-11Fix display of panic message in recursive panic.Mara Bos-0/+5
2024-06-11Impl Display for PanicPayload to simplify things.Mara Bos-1/+1
2024-03-26panic_str only exists for the migration to 2021 panic macrosRalf Jung-2/+2
2024-03-08Distinguish between library and lang UB in assert_unsafe_preconditionBen Kimock-37/+0
2024-02-19Convert debug_assert_nounwind to intrinsics::debug_assertionsBen Kimock-9/+20
2023-12-09merge core_panic feature into panic_internalsRalf Jung-7/+7
2023-11-25Address review feedbackGary Guo-0/+5
2023-11-25Add `debug_assert_nounwind`Gary Guo-0/+21
2023-11-15Bump cfg(bootstrap)sMark Rousskov-2/+2
2023-10-01Auto merge of #115670 - Zoxc:outline-panic-macro-1, r=Mark-Simulacrumbors-0/+45
Partially outline code inside the panic! macro This outlines code inside the panic! macro in some cases. This is split out from https://github.com/rust-lang/rust/pull/115562 to exclude changes to rustc.
2023-09-20Rename BoxMeUp to PanicPayload.Mara Bos-2/+2
2023-09-08Partially outline code inside the panic! macroJohn Kåre Alsaker-0/+45
2023-05-15Shorten lifetime of even more panic temporariesDavid Tolnay-12/+12
2023-05-14Shorten lifetime of panic temporaries in panic_fmt caseDavid Tolnay-6/+10
2022-12-30Replace libstd, libcore, liballoc in docs.jonathanCogan-4/+4
2022-11-13Fix clippy and rustdocMaybe Waffle-0/+1
please, please, don't match on `Symbol::as_str`s, every time you do, somewhere in the world another waffle becomes sad...
2022-11-13Remove unused diagnostic itemsMaybe Waffle-2/+0
2022-03-16resolve the conflict in compiler/rustc_session/src/parse.rscodehorseman-1/+1
Signed-off-by: codehorseman <cricis@yeah.net>
2022-01-31Fix invalid special casing of the unreachable! macroLoïc BRANSTETT-0/+33
2021-09-15Allow `panic!("{}", computed_str)` in const fn.Gary Guo-0/+9
2021-07-30Move UnwindSafe, RefUnwindSafe, AssertUnwindSafe to coreDavid Tolnay-0/+3
2021-07-30Split core::panic module to subdirectoryDavid Tolnay-329/+8
2021-07-28Add new const_format_args!() macro and use it in panics.Mara Bos-4/+4
2021-01-25Implement new panic!() behaviour for Rust 2021.Mara Bos-0/+34
2020-12-02Use more std:: instead of core:: in docs for consistency, add more intra doc ↵Alexis Bourget-1/+1
links
2020-09-06Auto merge of #76157 - ArekPiekarz:const_caller_location_tracking_issue, ↵bors-1/+1
r=joshtriplett Update tracking issue for const_caller_location Update the tracking issue to https://github.com/rust-lang/rust/issues/76156, as suggested in https://github.com/rust-lang/rust/issues/76105.
2020-09-01Enhance wordingDenis Vasilik-1/+1
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-09-01Use intra-doc linksDenis Vasilik-8/+1
2020-08-31Update tracking issue for const_caller_locationArkadiusz Piekarz-1/+1
2020-07-27mv std libs to library/mark-0/+361