diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2021-01-16 17:30:10 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-16 17:30:10 +0000 |
| commit | 9df8dcbcde0221a62816d28a7c3bb2e0444ccad3 (patch) | |
| tree | afd36471ae56dc49b80589487ef4997b95f3c0ce /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 1368e81bcb2f5e9ed0188deb46f7a994f225ab4d (diff) | |
| parent | 0ef55570fb35a79a32bc062c0a441c02952fd65e (diff) | |
| download | rust-9df8dcbcde0221a62816d28a7c3bb2e0444ccad3.tar.gz rust-9df8dcbcde0221a62816d28a7c3bb2e0444ccad3.zip | |
Rollup merge of #81040 - osa1:fix_80992, r=jyn514
doctest: Reset errors before dropping the parse session The first parse is to collect whether the code contains macros, has `main`, and uses other crates. In that pass we ignore errors as those will be reported when the test file is actually built. For that we need to reset errors in the `Diagnostic` otherwise when dropping it unhandled errors will be reported as compiler bugs. Fixes #80992
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
