about summary refs log tree commit diff
path: root/src/test/ui/conditional-compilation/cfg-arg-invalid-8.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-3/+0
2022-01-01Emit an error for `--cfg=)`Jakub Kądziołka-0/+3
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.