about summary refs log tree commit diff
path: root/tests/coverage/branch/lazy-boolean.coverage
diff options
context:
space:
mode:
authorjyn <github@jyn.dev>2024-12-01 23:57:09 -0500
committer许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2024-12-07 10:38:02 +0800
commit8aacd1c6a86ba4211b541aaf5b6d270ebb8727fa (patch)
tree8402f4e00dc1f3085810fdcd093db1ecfca2d465 /tests/coverage/branch/lazy-boolean.coverage
parent75716b45105e443199ce9800c7009ddfd6d2be53 (diff)
downloadrust-8aacd1c6a86ba4211b541aaf5b6d270ebb8727fa.tar.gz
rust-8aacd1c6a86ba4211b541aaf5b6d270ebb8727fa.zip
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 'tests/coverage/branch/lazy-boolean.coverage')
0 files changed, 0 insertions, 0 deletions