1
Fork 0

coverage: Shrink call spans to just the function name

This is a way to shrink call spans that doesn't involve mixing different spans,
and avoids overlap with argument spans.

This patch also removes some low-value comments that were causing rustfmt to
ignore the match arms.
This commit is contained in:
Zalathar 2025-03-29 21:33:01 +11:00
parent e80a3e2232
commit 577272eede
22 changed files with 106 additions and 106 deletions

View file

@ -86,7 +86,7 @@
LL| 1| .
LL| 1| expect_err(
LL| 1| "call should fail"
LL| 1| );
LL| | );
LL| 1| let val = thing1.get_thing_2(/*return_error=*/ true)?.call(/*return_error=*/ true)?;
^0 ^0 ^0
LL| 0| assert_eq!(val, 57);