aboutsummaryrefslogtreecommitdiff
path: root/crates/ide/src/syntax_highlighting/tests.rs
diff options
context:
space:
mode:
authorLukas Wirth <[email protected]>2021-01-28 18:06:33 +0000
committerLukas Wirth <[email protected]>2021-01-28 18:08:55 +0000
commit426ad8e165aeb70a3d12b8bc870cb0c57a308bc7 (patch)
treed40c9d6ed4a234a0d3a56d14f64f97b8bf7fdf8b /crates/ide/src/syntax_highlighting/tests.rs
parentf421ee672253499b8ca8d1badf98db42525a5216 (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.rs4
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
84fn str() {
85 str();
86}
87
84static mut STATIC_MUT: i32 = 0; 88static mut STATIC_MUT: i32 = 0;
85 89
86fn foo<'a, T>() -> T { 90fn foo<'a, T>() -> T {