# Tidy up diagnostics more \(\#29629\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/e364e482669f29fb010a7da28b8f5a78de4baf16)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: e364e482669f29fb010a7da28b8f5a78de4baf16

Requested commit: e364e482669f29fb010a7da28b8f5a78de4baf16

Commit: e364e482669f29fb010a7da28b8f5a78de4baf16

Tree: f6b2fdf3c860e3c53bea25ab1391b8515977c969

Author: Conrad Irwin

Committer: GitHub

## Message

```
Tidy up diagnostics more (#29629)

- Stop merging same row diagnostics
- (for Rust) show code fragments surrounded by `'s in monospace

Co-authored-by: Serge Radinovich <sergeradinovich@gmail.com>

Closes #29362

Release Notes:

- diagnostics: Diagnostics are no longer merged when they're on the same
line
- rust: Diagnostics now show code snippets in monospace font:

<img width="551" alt="Screenshot 2025-04-29 at 16 13 45"
src="https://github.com/user-attachments/assets/d289be31-717d-404f-a76a-a0cda3e96fbe"
/>

Co-authored-by: Serge Radinovich <sergeradinovich@gmail.com>
```

## Parents

- [b4732235e31cbce6d38388b3ea32852159fa91d0](https://git.cafe/gitcafe/zed/commit/b4732235e31cbce6d38388b3ea32852159fa91d0?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/e364e482669f29fb010a7da28b8f5a78de4baf16?format=markdown)
