# title_bar: Fix \`test-support\` feature mismatch \(\#62284\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 939d2d700038639cdfe3aa37481eaef14653825f

Requested commit: 939d2d700038639cdfe3aa37481eaef14653825f

Commit: 939d2d700038639cdfe3aa37481eaef14653825f

Tree: ad9dcf038200c2865afee73e38be998a68b30084

Author: Caio Raphael

Committer: GitHub

## Message

````
title_bar: Fix `test-support` feature mismatch (#62284)

Follow-up to #46337, same fix as #48280.

`title_bar` tests enable `remote/test-support`, which adds
`RemoteConnectionOptions::Mock`. But without
`recent_projects/test-support`, the match arms for that variant aren't
compiled, causing a non-exhaustive match error when testing the crate in
isolation:

```
error[E0004]: non-exhaustive patterns: `&RemoteConnectionOptions::Mock(_)` not covered
    --> crates/remote_connection/src/remote_connection.rs:233:76
```

CI doesn't catch this because `collab` and `sidebar` enable
`recent_projects/test-support` during workspace-wide tests.

Adding `remote_connection/test-support` instead isn't enough — that just
moves the same error into `recent_projects`.
`recent_projects/test-support` covers both.

Release Notes:

- N/A
````

## Parents

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

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