summary refs log tree commit diff
path: root/src/libcore/panic.rs
AgeCommit message (Collapse)AuthorLines
2018-01-24Add missing micro version number component in stability attributes.Simon Sapin-1/+1
2018-01-23Make PanicInfo::message available for std::panic! with a formatting string.Simon Sapin-2/+2
This enables PanicInfo’s Display impl to show the panic message in those cases.
2018-01-23Implement Display for PanicInfo and LocationSimon Sapin-0/+23
Due to being in libcore, this impl cannot access PanicInfo::payload if it’s a String.
2018-01-23Add an unstable PanicInfo::message(&self) -> Option<&fmt::Arguments> methodSimon Sapin-2/+17
2018-01-23Move PanicInfo and Location to libcoreSimon Sapin-0/+213
Per https://rust-lang.github.io/rfcs/2070-panic-implementation.html