diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-12-08 17:18:51 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-08 17:18:51 +0100 |
| commit | c05e7bde106a17dc3a608d1e8515e38c9798b787 (patch) | |
| tree | ffd231760d1afb88227d3456408bd6504d1ad5e6 /compiler/rustc_parse/src | |
| parent | 1868c8f66f25c3493b26f23e36a861328cdedbdb (diff) | |
| parent | 8aacd1c6a86ba4211b541aaf5b6d270ebb8727fa (diff) | |
| download | rust-c05e7bde106a17dc3a608d1e8515e38c9798b787.tar.gz rust-c05e7bde106a17dc3a608d1e8515e38c9798b787.zip | |
Rollup merge of #133733 - jyn514:compiletest-diffs, r=jieyouxu
compiletest: show the difference between the normalized output and the actual output for lines which didn't match
example output:
```
failures:
---- [ui] tests/ui/layout/enum.rs stdout ----
diff of stderr:
- error: align: AbiAndPrefAlign { abi: Align(2 bytes), pref: $PREF_ALIGN }
+ error: align: AbiAndPrefAlign { abi: Align(2 bytes), pref: $PREF_ALIN }
2 --> $DIR/enum.rs:9:1
3 |
4 LL | enum UninhabitedVariantAlign {
Note: some mismatched output was normalized before being compared
- error: align: AbiAndPrefAlign { abi: Align(2 bytes), pref: Align(8 bytes) }
- --> /home/jyn/src/rust2/tests/ui/layout/enum.rs:9:1
+ error: align: AbiAndPrefAlign { abi: Align(2 bytes), pref: $PREF_ALIN }
```
Diffstat (limited to 'compiler/rustc_parse/src')
0 files changed, 0 insertions, 0 deletions
