3792: Rename cargo_watch -> flycheck r=matklad a=matklad



bors r+
🤖

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
bors[bot] 2020-03-31 15:30:23 +00:00 committed by GitHub
commit 47c9ee2355
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
18 changed files with 29 additions and 29 deletions

30
Cargo.lock generated
View File

@ -886,19 +886,6 @@ dependencies = [
"test_utils",
]
[[package]]
name = "ra_cargo_watch"
version = "0.1.0"
dependencies = [
"cargo_metadata",
"crossbeam-channel",
"insta",
"jod-thread",
"log",
"lsp-types",
"serde_json",
]
[[package]]
name = "ra_cfg"
version = "0.1.0"
@ -923,6 +910,19 @@ dependencies = [
"test_utils",
]
[[package]]
name = "ra_flycheck"
version = "0.1.0"
dependencies = [
"cargo_metadata",
"crossbeam-channel",
"insta",
"jod-thread",
"log",
"lsp-types",
"serde_json",
]
[[package]]
name = "ra_fmt"
version = "0.1.0"
@ -1101,9 +1101,9 @@ dependencies = [
"cargo_metadata",
"log",
"ra_arena",
"ra_cargo_watch",
"ra_cfg",
"ra_db",
"ra_flycheck",
"ra_proc_macro",
"rustc-hash",
"serde",
@ -1300,8 +1300,8 @@ dependencies = [
"lsp-types",
"parking_lot",
"pico-args",
"ra_cargo_watch",
"ra_db",
"ra_flycheck",
"ra_hir",
"ra_hir_def",
"ra_hir_ty",

View File

@ -1,6 +1,6 @@
[package]
edition = "2018"
name = "ra_cargo_watch"
name = "ra_flycheck"
version = "0.1.0"
authors = ["rust-analyzer developers"]

View File

@ -1,5 +1,5 @@
---
source: crates/ra_cargo_watch/src/conv/test.rs
source: crates/ra_flycheck/src/conv/test.rs
expression: diag
---
[

View File

@ -1,5 +1,5 @@
---
source: crates/ra_cargo_watch/src/conv/test.rs
source: crates/ra_flycheck/src/conv/test.rs
expression: diag
---
[

View File

@ -1,5 +1,5 @@
---
source: crates/ra_cargo_watch/src/conv/test.rs
source: crates/ra_flycheck/src/conv/test.rs
expression: diag
---
[

View File

@ -1,5 +1,5 @@
---
source: crates/ra_cargo_watch/src/conv/test.rs
source: crates/ra_flycheck/src/conv/test.rs
expression: diag
---
[

View File

@ -1,5 +1,5 @@
---
source: crates/ra_cargo_watch/src/conv/test.rs
source: crates/ra_flycheck/src/conv/test.rs
expression: diag
---
[

View File

@ -1,5 +1,5 @@
---
source: crates/ra_cargo_watch/src/conv/test.rs
source: crates/ra_flycheck/src/conv/test.rs
expression: diag
---
[

View File

@ -1,5 +1,5 @@
---
source: crates/ra_cargo_watch/src/conv/test.rs
source: crates/ra_flycheck/src/conv/test.rs
expression: diag
---
[

View File

@ -16,7 +16,7 @@ cargo_metadata = "0.9.1"
ra_arena = { path = "../ra_arena" }
ra_db = { path = "../ra_db" }
ra_cfg = { path = "../ra_cfg" }
ra_cargo_watch = { path = "../ra_cargo_watch" }
ra_flycheck = { path = "../ra_flycheck" }
ra_proc_macro = { path = "../ra_proc_macro" }
serde = { version = "1.0.104", features = ["derive"] }

View File

@ -9,8 +9,8 @@ use std::{
use anyhow::{Context, Result};
use cargo_metadata::{BuildScript, CargoOpt, Message, MetadataCommand, PackageId};
use ra_arena::{Arena, Idx};
use ra_cargo_watch::run_cargo;
use ra_db::Edition;
use ra_flycheck::run_cargo;
use rustc_hash::FxHashMap;
use serde::Deserialize;

View File

@ -33,7 +33,7 @@ threadpool = "1.7.1"
stdx = { path = "../stdx" }
lsp-server = "0.3.1"
ra_cargo_watch = { path = "../ra_cargo_watch" }
ra_flycheck = { path = "../ra_flycheck" }
ra_ide = { path = "../ra_ide" }
ra_prof = { path = "../ra_prof" }
ra_project_model = { path = "../ra_project_model" }

View File

@ -21,7 +21,7 @@ use lsp_types::{
WorkDoneProgressBegin, WorkDoneProgressCreateParams, WorkDoneProgressEnd,
WorkDoneProgressReport,
};
use ra_cargo_watch::{url_from_path_with_drive_lowercasing, CheckConfig, CheckTask};
use ra_flycheck::{url_from_path_with_drive_lowercasing, CheckConfig, CheckTask};
use ra_ide::{Canceled, FileId, InlayHintsConfig, LibraryData, SourceRootId};
use ra_prof::profile;
use ra_vfs::{VfsFile, VfsTask, Watch};

View File

@ -11,7 +11,7 @@ use std::{
use crossbeam_channel::{unbounded, Receiver};
use lsp_types::Url;
use parking_lot::RwLock;
use ra_cargo_watch::{url_from_path_with_drive_lowercasing, CheckConfig, CheckWatcher};
use ra_flycheck::{url_from_path_with_drive_lowercasing, CheckConfig, CheckWatcher};
use ra_ide::{
Analysis, AnalysisChange, AnalysisHost, CrateGraph, FileId, InlayHintsConfig, LibraryData,
SourceRootId,