rust/compiler/rustc_errors
Nilstrieb 8a96884981
Flush delayed bugs before codegen
Sometimes it can happen that invalid code like a TyKind::Error makes
its way through the compiler without triggering any errors (this is
always a bug in rustc but bugs do happen sometimes :)). These ICEs
will manifest in the backend like as cg_llvm not being able to get
the layout of `[type error]`, which makes it hard to debug. By flushing
before codegen, we display all the delayed bugs, making it easier to
trace it to the root of the problem.
2022-09-27 20:56:05 +02:00
..
src Flush delayed bugs before codegen 2022-09-27 20:56:05 +02:00
Cargo.toml translations(rustc_session): migrate output.rs 2022-09-10 08:19:17 +02:00