rust/compiler/rustc_interface
Jakub Kądziołka 193342eb8d
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.
2022-01-01 05:21:36 +01:00
..
src Emit an error for --cfg=) 2022-01-01 05:21:36 +01:00
Cargo.toml replace dynamic library module with libloading 2021-12-06 12:03:47 -05:00