Emit more concise text edits in ide_db::rename

This commit is contained in:
Lukas Wirth 2021-08-17 15:24:01 +02:00
parent 995c8f50a2
commit daf3094958
2 changed files with 46 additions and 44 deletions

View file

@ -274,6 +274,7 @@ mod tests {
use super::{RangeInfo, RenameError};
#[track_caller]
fn check(new_name: &str, ra_fixture_before: &str, ra_fixture_after: &str) {
let ra_fixture_after = &trim_indent(ra_fixture_after);
let (analysis, position) = fixture::position(ra_fixture_before);