aboutsummaryrefslogtreecommitdiff
path: root/crates/ide/src/syntax_highlighting/tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ide/src/syntax_highlighting/tests.rs')
-rw-r--r--crates/ide/src/syntax_highlighting/tests.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/crates/ide/src/syntax_highlighting/tests.rs b/crates/ide/src/syntax_highlighting/tests.rs
index dd43f9dd9..5ea712cf5 100644
--- a/crates/ide/src/syntax_highlighting/tests.rs
+++ b/crates/ide/src/syntax_highlighting/tests.rs
@@ -89,6 +89,12 @@ fn baz<F: Fn() -> ()>(f: F) {
89 f() 89 f()
90} 90}
91 91
92fn foobar() -> impl Copy {}
93
94fn foo() {
95 let bar = foobar();
96}
97
92macro_rules! def_fn { 98macro_rules! def_fn {
93 ($($tt:tt)*) => {$($tt)*} 99 ($($tt:tt)*) => {$($tt)*}
94} 100}