Dequalify WindowContext and AsyncWindowContext identifiers (#22444)

This makes a WIP automated refactoring a bit easier to write

Release Notes:

- N/A
This commit is contained in:
Michael Sloan 2024-12-28 14:21:32 -07:00 committed by GitHub
parent ac60dcd67a
commit 9815358bdd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 16 additions and 22 deletions

View file

@ -1057,11 +1057,10 @@ pub mod test {
use gpui::{
AnyElement, AppContext, Context as _, EntityId, EventEmitter, FocusableView,
InteractiveElement, IntoElement, Model, Render, SharedString, Task, View, ViewContext,
VisualContext, WeakView,
VisualContext, WeakView, WindowContext,
};
use project::{Project, ProjectEntryId, ProjectPath, WorktreeId};
use std::{any::Any, cell::Cell, path::Path};
use ui::WindowContext;
pub struct TestProjectItem {
pub entry_id: Option<ProjectEntryId>,
@ -1376,7 +1375,7 @@ pub mod test {
fn cleanup(
_workspace_id: WorkspaceId,
_alive_items: Vec<ItemId>,
_cx: &mut ui::WindowContext,
_cx: &mut WindowContext,
) -> Task<anyhow::Result<()>> {
Task::ready(Ok(()))
}