fixing ts linting and rust test

This commit is contained in:
Bruno Ortiz 2023-04-26 22:02:38 -03:00
parent bd2160f014
commit 072f69e4c1
4 changed files with 30 additions and 28 deletions

View file

@ -1318,7 +1318,8 @@ fn sysroot_to_crate_graph(
let file_id = load(&sysroot[krate].root)?;
let env = Env::default();
let display_name = CrateDisplayName::from_canonical_name(sysroot[krate].name.clone());
let display_name =
CrateDisplayName::from_canonical_name(sysroot[krate].name.clone());
let crate_id = crate_graph.add_crate_root(
file_id,
Edition::CURRENT,

View file

@ -6,7 +6,8 @@ import * as ra from "./lsp_ext";
import { FetchDependencyListResult } from "./lsp_ext";
export class RustDependenciesProvider
implements vscode.TreeDataProvider<Dependency | DependencyFile> {
implements vscode.TreeDataProvider<Dependency | DependencyFile>
{
dependenciesMap: { [id: string]: Dependency | DependencyFile };
ctx: CtxInit;