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:
parent
e80a3e2232
commit
577272eede
22 changed files with 106 additions and 106 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue