# chore: Fix warning from 1.77 rustc \(\#8265\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 72009de3097c6f2ac77e39b45d870dafe96fc2f0

Requested commit: 72009de3097c6f2ac77e39b45d870dafe96fc2f0

Commit: 72009de3097c6f2ac77e39b45d870dafe96fc2f0

Tree: e6b26fab31a8ab996cd04815ea365d22b50a1b9e

Author: Piotr Osiewicz

Committer: GitHub

## Message

````
chore: Fix warning from 1.77 rustc (#8265)

/cc @maxbrunsfeld , I didn't remove the field outright since I'm not
sure if the intent is to use it eventually in extensions work.
This is the warning we're getting on 1.77 (release date: 03.21.2024) :
```
warning: field `0` is never read
  --> crates/language/src/language_registry.rs:81:12
   |
81 |     Loaded(PathBuf, tree_sitter::Language),
   |     ------ ^^^^^^^
   |     |
   |     field in this variant
   |
   = note: `#[warn(dead_code)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
   |
81 |     Loaded((), tree_sitter::Language),
   |            ~~

warning: field `0` is never read
  --> crates/language/src/language_registry.rs:82:13
   |
82 |     Loading(PathBuf, Vec<oneshot::Sender<Result<tree_sitter::Language>>>),
   |     ------- ^^^^^^^
   |     |
   |     field in this variant
   |
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
   |
82 |     Loading((), Vec<oneshot::Sender<Result<tree_sitter::Language>>>),
   |             ~~
```
Release Notes:

- N/A
````

## Parents

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

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