7526: Renamed create ssr to ide_ssr.

This commit is contained in:
Chetan Khilosiya 2021-02-23 00:44:58 +05:30
parent e4756cb4f6
commit eb6cfa7f15
16 changed files with 25 additions and 24 deletions

View file

@ -53,7 +53,7 @@ cfg = { path = "../cfg", version = "0.0.0" }
toolchain = { path = "../toolchain", version = "0.0.0" }
# This should only be used in CLI
ssr = { path = "../ssr", version = "0.0.0" }
ide_ssr = { path = "../ide_ssr", version = "0.0.0" }
hir = { path = "../hir", version = "0.0.0" }
hir_def = { path = "../hir_def", version = "0.0.0" }
hir_ty = { path = "../hir_ty", version = "0.0.0" }

View file

@ -6,9 +6,9 @@
use std::{env, path::PathBuf};
use anyhow::{bail, format_err, Result};
use ide_ssr::{SsrPattern, SsrRule};
use pico_args::Arguments;
use rust_analyzer::cli::{AnalysisStatsCmd, BenchCmd, BenchWhat, Position, Verbosity};
use ssr::{SsrPattern, SsrRule};
use vfs::AbsPathBuf;
pub(crate) struct Args {

View file

@ -4,7 +4,7 @@ use crate::cli::{
load_cargo::{load_workspace_at, LoadCargoConfig},
Result,
};
use ssr::{MatchFinder, SsrPattern, SsrRule};
use ide_ssr::{MatchFinder, SsrPattern, SsrRule};
pub fn apply_ssr_rules(rules: Vec<SsrRule>) -> Result<()> {
use ide_db::base_db::SourceDatabaseExt;