rust/compiler/rustc_interface
Matthias Krüger 2004a51fa4
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.
2022-01-01 22:49:53 +01:00
..
src Rollup merge of #92468 - NieDzejkob:silent-cfg, r=petrochenkov 2022-01-01 22:49:53 +01:00
Cargo.toml replace dynamic library module with libloading 2021-12-06 12:03:47 -05:00