diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-01-15 02:25:15 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-15 02:25:15 +0100 |
| commit | 8df08e8bce9d9baad0aa1e1d262f10e6609e683a (patch) | |
| tree | 09aca810af0f3a706827cccff519b7a81a3d7be0 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 1d9ab77eb75b4fa71883831ce883ce8ff508bda1 (diff) | |
| parent | f6f814957796a8d2f1e9fe143652c870805d40ea (diff) | |
| download | rust-8df08e8bce9d9baad0aa1e1d262f10e6609e683a.tar.gz rust-8df08e8bce9d9baad0aa1e1d262f10e6609e683a.zip | |
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.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
