]> git.lizzy.rs Git - rust.git/commit - src/bootstrap/lib.rs
Rollup merge of #106190 - estebank:multiline-start-tweak, r=jackh726
authorMatthias Krüger <matthias.krueger@famsik.de>
Thu, 29 Dec 2022 17:24:30 +0000 (18:24 +0100)
committerGitHub <noreply@github.com>
Thu, 29 Dec 2022 17:24:30 +0000 (18:24 +0100)
commitbe56dc037fac13baba66a13021243a02ec75f8a5
tree9d24dfe050d5f14557c624278a1bc5b6ca476b30
parent10374d3807e18ff5a62699c7700a08d0cb647d1e
parentaf74ca0666814e6c448259f2ab796435ababb664
Rollup merge of #106190 - estebank:multiline-start-tweak, r=jackh726

Account for multiple multiline spans with empty padding

Instead of

```
LL |    fn oom(
   |  __^
   | | _|
   | ||
LL | || ) {
   | ||_-
LL | |  }
   | |__^
```

emit

```
LL | // fn oom(
LL | || ) {
   | ||_-
LL | |  }
   | |__^
   ```