Route save_as
via the Project
Co-Authored-By: Max Brunsfeld <max@zed.dev>
This commit is contained in:
parent
e7235a82ec
commit
ae284c2d8a
5 changed files with 108 additions and 113 deletions
|
@ -15,7 +15,7 @@ use gpui::{
|
|||
use language::{Bias, Buffer, Diagnostic, DiagnosticEntry, Point, Selection, SelectionGoal};
|
||||
use postage::watch;
|
||||
use project::{Project, ProjectPath, WorktreeId};
|
||||
use std::{cmp::Ordering, mem, ops::Range, rc::Rc, sync::Arc};
|
||||
use std::{cmp::Ordering, mem, ops::Range, path::PathBuf, rc::Rc, sync::Arc};
|
||||
use util::TryFutureExt;
|
||||
use workspace::{NavHistory, Workspace};
|
||||
|
||||
|
@ -570,8 +570,8 @@ impl workspace::ItemView for ProjectDiagnosticsEditor {
|
|||
|
||||
fn save_as(
|
||||
&mut self,
|
||||
_: ModelHandle<project::Worktree>,
|
||||
_: &std::path::Path,
|
||||
_: ModelHandle<Project>,
|
||||
_: PathBuf,
|
||||
_: &mut ViewContext<Self>,
|
||||
) -> Task<Result<()>> {
|
||||
unreachable!()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue