1
Fork 0

Filter empty lines, comments and delimiters from previous to last multiline span rendering

This commit is contained in:
Esteban Küber 2024-12-11 21:48:33 +00:00
parent 65a54a7f27
commit 49a22a4245
103 changed files with 115 additions and 401 deletions

View file

@ -6,7 +6,6 @@ LL | / fn main() {
LL | | [(); return match 0 { n => n }];
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ the return is part of this body...
... |
LL | |
LL | | }
| |_- ...not the enclosing function body
@ -18,7 +17,6 @@ LL | / fn main() {
LL | | [(); return match 0 { 0 => 0 }];
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ the return is part of this body...
... |
LL | |
LL | | }
| |_- ...not the enclosing function body
@ -30,7 +28,6 @@ LL | / fn main() {
LL | | [(); return match () { 'a' => 0, _ => 0 }];
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the return is part of this body...
... |
LL | |
LL | | }
| |_- ...not the enclosing function body