diff options
| author | David Wood <david.wood@huawei.com> | 2022-05-06 03:44:41 +0100 |
|---|---|---|
| committer | David Wood <david.wood@huawei.com> | 2022-05-06 03:44:41 +0100 |
| commit | 3f413d2abb5cf5f72002bc7da5709bf6c4dab444 (patch) | |
| tree | 0de8a214f39e1f0bc3a2ec0954ad5cec61423401 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 859079ff127f8886c81152da7bb74b38f84b6797 (diff) | |
| download | rust-3f413d2abb5cf5f72002bc7da5709bf6c4dab444.tar.gz rust-3f413d2abb5cf5f72002bc7da5709bf6c4dab444.zip | |
sess: add `create_{err,warning}`
Currently, the only API for creating errors from a diagnostic derive
will emit it immediately. This makes it difficult to add subdiagnostics
to diagnostics from the derive, so add `create_{err,warning}` functions
that return the diagnostic without emitting it.
Signed-off-by: David Wood <david.wood@huawei.com>
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
