about summary refs log tree commit diff
path: root/tests/rustdoc-ui/coverage/enum-tuple.rs
diff options
context:
space:
mode:
authorNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2022-09-27 20:56:05 +0200
committerNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2022-09-27 20:56:05 +0200
commit8a96884981c97c4c35e304004290271308a67637 (patch)
treed65ed037add268a9ce4204ae8f1ae5a10f1db4f4 /tests/rustdoc-ui/coverage/enum-tuple.rs
parent57ee5cf5a93923dae9c98bffb11545fc3a31368d (diff)
downloadrust-8a96884981c97c4c35e304004290271308a67637.tar.gz
rust-8a96884981c97c4c35e304004290271308a67637.zip
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.
Diffstat (limited to 'tests/rustdoc-ui/coverage/enum-tuple.rs')
0 files changed, 0 insertions, 0 deletions