diff options
author | Lukas Wirth <[email protected]> | 2021-01-28 18:06:33 +0000 |
---|---|---|
committer | Lukas Wirth <[email protected]> | 2021-01-28 18:08:55 +0000 |
commit | 426ad8e165aeb70a3d12b8bc870cb0c57a308bc7 (patch) | |
tree | d40c9d6ed4a234a0d3a56d14f64f97b8bf7fdf8b /crates/ide/src/syntax_highlighting/tests.rs | |
parent | f421ee672253499b8ca8d1badf98db42525a5216 (diff) |
Classify function calls as functions when shadowed by types
Diffstat (limited to 'crates/ide/src/syntax_highlighting/tests.rs')
-rw-r--r-- | crates/ide/src/syntax_highlighting/tests.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/ide/src/syntax_highlighting/tests.rs b/crates/ide/src/syntax_highlighting/tests.rs index a62704c39..1854da914 100644 --- a/crates/ide/src/syntax_highlighting/tests.rs +++ b/crates/ide/src/syntax_highlighting/tests.rs | |||
@@ -81,6 +81,10 @@ impl FooCopy { | |||
81 | } | 81 | } |
82 | } | 82 | } |
83 | 83 | ||
84 | fn str() { | ||
85 | str(); | ||
86 | } | ||
87 | |||
84 | static mut STATIC_MUT: i32 = 0; | 88 | static mut STATIC_MUT: i32 = 0; |
85 | 89 | ||
86 | fn foo<'a, T>() -> T { | 90 | fn foo<'a, T>() -> T { |