diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-01-01 22:49:53 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-01 22:49:53 +0100 |
| commit | 2004a51fa4c90a2fe9035d7b17c1c9df6939c1cd (patch) | |
| tree | 1ab825811e698ce4a657e99e09a8f2c485d9f332 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | aa31c9726da6ba10f76c700a52b4682555e745d9 (diff) | |
| parent | 193342eb8d38afb7327642ced3434730b6f4fa00 (diff) | |
| download | rust-2004a51fa4c90a2fe9035d7b17c1c9df6939c1cd.tar.gz rust-2004a51fa4c90a2fe9035d7b17c1c9df6939c1cd.zip | |
Rollup merge of #92468 - NieDzejkob:silent-cfg, r=petrochenkov
Emit an error for `--cfg=)` Fixes #73026 See also: #64467, #89468 The issue stems from a `FatalError` being silently raised in `panictry_buffer`. Normally this is not a problem, because `panictry_buffer` emits the causes of the error, but they are not themselves fatal, so they get filtered out by the silent emitter. To fix this, we use a parser entrypoint which doesn't use `panictry_buffer`, and we handle the error ourselves.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
