diff options
| author | León Orell Valerian Liehr <me@fmease.dev> | 2024-10-23 17:24:30 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-23 17:24:30 +0200 |
| commit | f2675002a0a5428fce8cf6691109bff2a8008948 (patch) | |
| tree | 5a6c2c43681cb69f40f0b449563654e58999679a /compiler/rustc_errors/src/snippet.rs | |
| parent | 4caa60c032cb6e89d726fc64d0ada02eb3f19419 (diff) | |
| parent | 28095bc54142f9fbfd4a2cac0a7fadf0ae6e9b9e (diff) | |
| download | rust-f2675002a0a5428fce8cf6691109bff2a8008948.tar.gz rust-f2675002a0a5428fce8cf6691109bff2a8008948.zip | |
Rollup merge of #131181 - dev-ardi:custom-differ, r=jieyouxu
Compiletest: Custom differ This adds support for a custom differ for compiletests. It’s purely visual and helps produce cleaner output when UI tests fail. I’m using an environment variable for now since it’s experimental and I don’t want to drill the cli arguments all the way down. Also did a bit of general cleanup while I was at it. This is how it looks [with debug info silenced](https://github.com/rust-lang/rust/pull/131182) (#131182) `COMPILETEST_DIFF_TOOL="/usr/bin/env difft --color always --background light --display side-by-side" ./x test tests/ui/parser` 
Diffstat (limited to 'compiler/rustc_errors/src/snippet.rs')
0 files changed, 0 insertions, 0 deletions
