diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-01-30 15:23:21 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-01-30 15:23:21 +0000 |
commit | f408ff50130eae0eb56e7f9668e9df39f7baa6dd (patch) | |
tree | 099e32b0fb1f94bef58d6d9a23d45d2e8b890ae1 /crates/ide/src/syntax_highlighting/tests.rs | |
parent | 557c1e36ddbb19cc76f7a1f04d1b327942aafcb9 (diff) | |
parent | e3eeccf8ef2029bb54ba05af420a65b429763477 (diff) |
Merge #7483
7483: Classify function calls as functions when shadowed by types r=matklad a=Veykril
Fixes #7479
Co-authored-by: Lukas Wirth <[email protected]>
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 { |