diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-11-30 13:57:35 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-12-02 08:58:24 +1100 |
| commit | b2a856ea3cb0087e52f90a9ac7e4e32f0b52a66e (patch) | |
| tree | 4ef1ee7123a35f5f44436a62e5a65376a932dc48 /compiler/rustc_errors/src/json.rs | |
| parent | f7e3d05aa7e012402269aa02fd0c628445465b86 (diff) | |
| download | rust-b2a856ea3cb0087e52f90a9ac7e4e32f0b52a66e.tar.gz rust-b2a856ea3cb0087e52f90a9ac7e4e32f0b52a66e.zip | |
Return `ErrorGuaranteed` from `span_err_with_code` methods.
`ErrorGuaranteed` should be used for all error methods involving the `Error` level, e.g. as is done for the corresponding `span_err` methods.
Diffstat (limited to 'compiler/rustc_errors/src/json.rs')
0 files changed, 0 insertions, 0 deletions
