rust/library/core/src/panic
Matthias Krüger cb7f1eec04
Rollup merge of #122291 - lilasta:stabilize_const_location_fields, r=dtolnay
Stabilize `const_caller_location` and `const_location_fields`

Closes #102911. Closes #76156.

tests: [library/core/tests/panic/location.rs](3521a2f2f3/library/core/tests/panic/location.rs)

API:
```rust
// core::panic::location
impl Location {
    pub const fn caller() -> &'static Location<'static>;
    pub const fn file(&self) -> &str;
    pub const fn line(&self) -> u32;
    pub const fn column(&self) -> u32;
}
```
2024-04-06 13:00:05 +02:00
..
location.rs Stabilize const_caller_location and const_location_fields 2024-03-21 22:19:57 +09:00
panic_info.rs add panic location to 'panicked while processing panic' 2024-03-23 09:44:04 +01:00
unwind_safe.rs Replace some usage of #[rustc_on_unimplemented] with 2024-01-05 15:23:09 +01:00