wip
This commit is contained in:
parent
d5a17053df
commit
4f774e2bde
4 changed files with 105 additions and 104 deletions
|
@ -66,12 +66,12 @@ pub struct BracketPair {
|
|||
|
||||
#[async_trait]
|
||||
pub trait DiagnosticSource: 'static + Send + Sync {
|
||||
fn name(&self) -> &'static str;
|
||||
fn name(&self) -> Arc<str>;
|
||||
|
||||
async fn diagnose(
|
||||
&self,
|
||||
path: Arc<Path>,
|
||||
) -> Result<Vec<(PathBuf, Vec<DiagnosticEntry<Point>>)>>;
|
||||
) -> Result<Vec<(PathBuf, Vec<DiagnosticEntry<usize>>)>>;
|
||||
}
|
||||
|
||||
pub struct Language {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue