diff options
| author | Felix S. Klock II <pnkfelix@pnkfx.org> | 2018-09-15 06:27:55 +0200 |
|---|---|---|
| committer | Felix S. Klock II <pnkfelix@pnkfx.org> | 2018-09-17 14:30:01 +0200 |
| commit | 82e17504143e7f26427269fabfb99129a602c8b9 (patch) | |
| tree | 469ada29e9704b469f45b5e18e516e1ce07c3f4c /src/rustllvm/RustWrapper.cpp | |
| parent | f789b6bd6dc01a4412819c0733a6c99e092446fe (diff) | |
| download | rust-82e17504143e7f26427269fabfb99129a602c8b9.tar.gz rust-82e17504143e7f26427269fabfb99129a602c8b9.zip | |
Add -Z dont-buffer-diagnostics, a way to force NLL to immediately emit its diagnostics.
This is mainly intended for `rustc` developers who want to see a diagnostic in its original context in the control flow. Two uses cases for that are: * `-Z treat-err-as-bug` which then allows extraction of a stack-trace to the origin of the error (a case that is so important that we make that flag imply this one, effectively). * `RUST_LOG=... rustc`, in which case it is often useful to see the logging statements that occurred immediately prior to the point where the diagnostic was signalled. Drive-by: Added some documentation pointing future devs at HandlerFlags, and documented the fields of `HandlerFlags` itself.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
