os-rust/compiler/rustc_borrowck
Matthias Krüger 8df08e8bce
Rollup merge of #92625 - inquisitivecrystal:mirbug-caller, r=michaelwoerister
Add `#[track_caller]` to `mirbug`

When a "'no errors encountered even though `delay_span_bug` issued" error results from the `mirbug` function, the file location information points to the `mirbug` function itself, rather than its caller. This doesn't make sense, since the caller is the real source of the bug. Adding `#[track_caller]` will produce diagnostics that are more useful to anyone fixing the ICE.
2022-01-15 02:25:15 +01:00
..
src Rollup merge of #92625 - inquisitivecrystal:mirbug-caller, r=michaelwoerister 2022-01-15 02:25:15 +01:00
Cargo.toml Migrate to 2021 2021-09-20 22:21:42 -04:00