Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 68eabf1

Browse files
committed
Fix test
1 parent a695e90 commit 68eabf1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

crates/ide-assists/src/handlers/inline_type_alias.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ pub(crate) fn inline_type_alias_uses(acc: &mut Assists, ctx: &AssistContext<'_>)
9595
inline_refs_for_file(file_id, refs);
9696
}
9797
if !definition_deleted {
98+
builder.edit_file(ctx.file_id());
9899
builder.delete(ast_alias.syntax().text_range());
99100
}
100101
},
@@ -979,7 +980,7 @@ fn f() -> Vec<&str> {
979980
}
980981
981982
//- /foo.rs
982-
use super::T;
983+
983984
fn foo() {
984985
let _: Vec<i8> = Vec::new();
985986
}
@@ -1008,6 +1009,7 @@ mod foo;
10081009
10091010
10101011
//- /foo.rs
1012+
10111013
fn foo() {
10121014
let _: i32 = 0;
10131015
}

0 commit comments

Comments
 (0)