diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2023-03-03 22:25:18 +0000 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2023-07-19 14:10:07 +0000 |
| commit | cbca8f9908fd4c4d66d83f0f54221f809db8b1c0 (patch) | |
| tree | 3eb404975347fb3c99cdfcebac8a2949dfc9a5e4 | |
| parent | d1e1dcb1fbbc3ac2a62a06aa4e37546db05180db (diff) | |
| download | rust-cbca8f9908fd4c4d66d83f0f54221f809db8b1c0.tar.gz rust-cbca8f9908fd4c4d66d83f0f54221f809db8b1c0.zip | |
On nightly, dump ICE backtraces to disk
Implement rust-lang/compiler-team#578. When an ICE is encountered on nightly releases, the new rustc panic handler will also write the contents of the backtrace to disk. If any `delay_span_bug`s are encountered, their backtrace is also added to the file. The platform and rustc version will also be collected.
| -rw-r--r-- | clippy_lints/src/doc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/doc.rs b/clippy_lints/src/doc.rs index e5f39d102cd..8879c529262 100644 --- a/clippy_lints/src/doc.rs +++ b/clippy_lints/src/doc.rs @@ -729,7 +729,7 @@ fn check_code(cx: &LateContext<'_>, text: &str, edition: Edition, span: Span) { false, TerminalUrl::No, ); - let handler = Handler::with_emitter(false, None, Box::new(emitter)); + let handler = Handler::with_emitter(false, None, Box::new(emitter), None); let sess = ParseSess::with_span_handler(handler, sm); let mut parser = match maybe_new_parser_from_source_str(&sess, filename, code) { |
