mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 07:04:49 +00:00
internal: Simplify some completions
This commit is contained in:
parent
8b078986dc
commit
7a0774defa
11 changed files with 147 additions and 222 deletions
|
@ -399,7 +399,6 @@ fn foo() {
|
|||
|
||||
#[test]
|
||||
fn completes_no_delims_if_existing() {
|
||||
// FIXME: We should not complete functions here
|
||||
check_empty(
|
||||
r#"
|
||||
struct Bar(u32);
|
||||
|
@ -410,9 +409,7 @@ fn foo() {
|
|||
}
|
||||
"#,
|
||||
expect![[r#"
|
||||
fn foo fn()
|
||||
st Bar
|
||||
bt u32
|
||||
kw crate::
|
||||
kw self::
|
||||
kw super::
|
||||
|
@ -428,9 +425,7 @@ fn foo() {
|
|||
}
|
||||
"#,
|
||||
expect![[r#"
|
||||
fn foo fn()
|
||||
st Foo
|
||||
bt u32
|
||||
kw crate::
|
||||
kw self::
|
||||
kw super::
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue