# languages: Fix rust completions not having proper detail labels \(\#35772\) · gitcafe/zed

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

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

Visibility: public

Requested revision: f5f837d39a61c1f70102ca2daa8ce5fad591258a

Requested commit: f5f837d39a61c1f70102ca2daa8ce5fad591258a

Commit: f5f837d39a61c1f70102ca2daa8ce5fad591258a

Tree: 8fcfc9a75b586a23d9749f32488d178bd3e4dd3e

Author: Lukas Wirth

Committer: GitHub

## Message

```
languages: Fix rust completions not having proper detail labels (#35772)

rust-analyzer changed the format here a bit some months ago which
partially broke our nice detailed highlighted completion labels. The
brings that back while also cleaning up the code a bit.

Also fixes a bug where disabling rust-analyzers snippet callable
completions would fully break them.

Release Notes:

- N/A
```

## Parents

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

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