add apply ssr assist

This commit is contained in:
Josh Mcguigan 2021-03-08 21:11:28 -08:00
parent a9b1e5cde1
commit 09307be75b
4 changed files with 300 additions and 1 deletions

View file

@ -58,6 +58,7 @@
// | VS Code | **Rust Analyzer: Structural Search Replace**
// |===
mod from_comment;
mod matching;
mod nester;
mod parsing;
@ -71,6 +72,7 @@ mod tests;
use crate::errors::bail;
pub use crate::errors::SsrError;
pub use crate::from_comment::ssr_from_comment;
pub use crate::matching::Match;
use crate::matching::MatchFailureReason;
use hir::Semantics;