From c767dcc6cdf98abc27cfeebf64df8f28434d129e Mon Sep 17 00:00:00 2001 From: Anthony Eid <56899983+Anthony-Eid@users.noreply.github.com> Date: Thu, 26 Feb 2026 15:37:53 +0100 Subject: [PATCH] Get collab test suite passing (#50214) The test suite was failing with this error: methods `is_screen_capture_supported` and `screen_capture_sources` are never used. I added allow(dead_code) attribute on both methods to fix it action that was failing: https://github.com/zed-industries/zed/actions/runs/22444029970/job/64993825469 Before you mark this PR as ready for review, make sure that you have: - [ ] Added a solid test coverage and/or screenshots from doing manual testing - [ ] Done a self-review taking into account security and performance aspects - [ ] Aligned any UI changes with the [UI checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist) Release Notes: - N/A --- crates/gpui_linux/src/linux/platform.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/gpui_linux/src/linux/platform.rs b/crates/gpui_linux/src/linux/platform.rs index dfb37afda255a7e4297af0c3a6ac2dfa8b6d1849..9253e1acaffbc8c4a0c506bb4d5a39e9cb279ff0 100644 --- a/crates/gpui_linux/src/linux/platform.rs +++ b/crates/gpui_linux/src/linux/platform.rs @@ -55,10 +55,12 @@ pub(crate) trait LinuxClient { fn display(&self, id: DisplayId) -> Option>; fn primary_display(&self) -> Option>; + #[allow(dead_code)] fn is_screen_capture_supported(&self) -> bool { false } + #[allow(dead_code)] fn screen_capture_sources( &self, ) -> oneshot::Receiver>>> {