internal: Lift out item list path completions from (un)qualified_path

This commit is contained in:
Lukas Wirth 2022-05-05 12:08:40 +02:00
parent 52a58f672e
commit 25d133e3b8
13 changed files with 97 additions and 68 deletions

View file

@ -394,6 +394,9 @@ fn foo() {
}
"#,
expect![[r#"
fn foo() fn()
st Bar
bt u32
kw crate::
kw self::
kw super::
@ -403,19 +406,18 @@ fn foo() {
r#"
struct Foo { bar: u32 }
fn foo() {
match Foo { bar: 0 } {
match (Foo { bar: 0 }) {
F$0 { bar } => {}
}
}
"#,
expect![[r#"
fn foo() fn()
fn foo() fn()
st Foo
bt u32
kw crate
kw return
kw self
kw super
kw crate::
kw self::
kw super::
"#]],
);
check_empty(