internal: completion: split out more PathKinds from ImmediateLocation

This commit is contained in:
Lukas Wirth 2021-12-06 15:51:33 +01:00
parent 49b0970970
commit ae0c7268f7
10 changed files with 206 additions and 160 deletions

View file

@ -1000,6 +1000,19 @@ fn function() {
);
}
#[test]
fn flyimport_item_name() {
check(
r#"
mod module {
pub struct Struct;
}
struct Str$0
"#,
expect![[r#""#]],
);
}
#[test]
fn flyimport_rename() {
check(