about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/errors.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2024-01-12 15:16:57 +0100
committerGitHub <noreply@github.com>2024-01-12 15:16:57 +0100
commit504794b908cbbe08da202c409abda9e1d9087508 (patch)
tree0ba636a26818f76ee8e37fc5aeef11f6bffc76e7 /compiler/rustc_interface/src/errors.rs
parent737452a82400c9953a856d3b032ad8831c98fc95 (diff)
parent7df43d3c814b4d4a2d0231a5d02fe36e70901627 (diff)
downloadrust-504794b908cbbe08da202c409abda9e1d9087508.tar.gz
rust-504794b908cbbe08da202c409abda9e1d9087508.zip
Rollup merge of #119872 - compiler-errors:eagerly-emit-delayed-bugs, r=oli-obk,nnethercote
Give me a way to emit all the delayed bugs as errors (add `-Zeagerly-emit-delayed-bugs`)

This is probably a *better* way to inspect all the delayed bugs in a program that what exists currently (and therefore makes it very easy to choose the right number `N` with `-Zemit-err-as-bug=N`, though I guess the naming is a bit ironic when you pair both of the flags together, but that feels like naming bikeshed more than anything).

This pacifies my only concern with https://github.com/rust-lang/rust/pull/119871#issuecomment-1888170259, because (afaict?) that PR doesn't allow you to intercept a delayed bug's stack trace anymore, which as someone who debugs the compiler a lot, is something that I can *promise* that I do.

r? `@nnethercote` or `@oli-obk`
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions