about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-01-20 23:37:32 +0100
committerGitHub <noreply@github.com>2022-01-20 23:37:32 +0100
commitaa7f4520a1d5fc634f80a6ebe532fe2bdfa52501 (patch)
tree3848647bb2e7c33f7b9684a2ad9ebf5b58801f8e /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff
parent530c884372cbee0ab81df404c90b0bc3b551a474 (diff)
parent06b00ad19972c18150fe25a9b3716ffdf5300a83 (diff)
downloadrust-aa7f4520a1d5fc634f80a6ebe532fe2bdfa52501.tar.gz
rust-aa7f4520a1d5fc634f80a6ebe532fe2bdfa52501.zip
Rollup merge of #93038 - GuillaumeGomez:block-doc-comments, r=notriddle
Fix star handling in block doc comments

Fixes #92872.

Some extra explanation about this PR and why https://github.com/rust-lang/rust/pull/92357 created this regression: when we merge doc comment kinds for example in:

```rust
/// he
/**
* hello
*/
#[doc = "boom"]
```

We don't want to remove the empty lines between them. However, to correctly compute the "horizontal trim", we still need it, so instead, I put back a part of the "vertical trim" directly in the "horizontal trim" computation so it doesn't impact the output buffer but allows us to correctly handle the stars.

r? ``@camelid``
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff')
0 files changed, 0 insertions, 0 deletions