diff options
| author | bors <bors@rust-lang.org> | 2024-05-30 18:57:48 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-05-30 18:57:48 +0000 |
| commit | 6f3df08aadf71e8d4bf7e49f5dc10dfa6f254cb4 (patch) | |
| tree | 0bb6446fa30b1164ab735bb609decc609daddda2 /compiler/rustc_pattern_analysis | |
| parent | 7feb191f18918f93006d6a3e74938a9708564be4 (diff) | |
| parent | 8160974ce8e751e3283d61493325ae71dccd0877 (diff) | |
| download | rust-6f3df08aadf71e8d4bf7e49f5dc10dfa6f254cb4.tar.gz rust-6f3df08aadf71e8d4bf7e49f5dc10dfa6f254cb4.zip | |
Auto merge of #125378 - lcnr:tracing-no-lines, r=oli-obk
remove tracing tree indent lines This allows vscode to collapse nested spans without having to manually remove the indent lines. This is incredibly useful when logging the new solver. I don't mind making them optional depending on some environment flag if you prefer using indent lines For a gist of the new output, see https://gist.github.com/lcnr/bb4360ddbc5cd4631f2fbc569057e5eb#file-example-output-L181 r? `@oli-obk`
Diffstat (limited to 'compiler/rustc_pattern_analysis')
| -rw-r--r-- | compiler/rustc_pattern_analysis/tests/common/mod.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_pattern_analysis/tests/common/mod.rs b/compiler/rustc_pattern_analysis/tests/common/mod.rs index e72fddb9e9a..6e8bb505005 100644 --- a/compiler/rustc_pattern_analysis/tests/common/mod.rs +++ b/compiler/rustc_pattern_analysis/tests/common/mod.rs @@ -13,7 +13,6 @@ pub fn init_tracing() { use tracing_subscriber::Layer; let _ = tracing_tree::HierarchicalLayer::default() .with_writer(std::io::stderr) - .with_indent_lines(true) .with_ansi(true) .with_targets(true) .with_indent_amount(2) |
