about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-04-06 13:00:05 +0200
committerGitHub <noreply@github.com>2024-04-06 13:00:05 +0200
commitcb7f1eec043141db54acc1bc406d0e1c32938e26 (patch)
tree3aadb998ffef3bcd2bad0311f20cab1fbd18318a /compiler/rustc_interface/src/errors.rs
parent3bcf402322d4df4ad31ddcc28fc1b8814716795d (diff)
parentd324d6de0e9a0c3f2413b75de71b175e74057b59 (diff)
downloadrust-cb7f1eec043141db54acc1bc406d0e1c32938e26.tar.gz
rust-cb7f1eec043141db54acc1bc406d0e1c32938e26.zip
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](https://github.com/rust-lang/rust/blob/3521a2f2f317cb978063842485c7d1bc86ec82b6/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;
}
```
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions