diff options
Diffstat (limited to 'crates/syntax/test_data/parser/err/0018_incomplete_fn.rs')
-rw-r--r-- | crates/syntax/test_data/parser/err/0018_incomplete_fn.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/crates/syntax/test_data/parser/err/0018_incomplete_fn.rs b/crates/syntax/test_data/parser/err/0018_incomplete_fn.rs new file mode 100644 index 000000000..fe604006c --- /dev/null +++ b/crates/syntax/test_data/parser/err/0018_incomplete_fn.rs | |||
@@ -0,0 +1,8 @@ | |||
1 | impl FnScopes { | ||
2 | fn new_scope(&) -> ScopeId { | ||
3 | let res = self.scopes.len(); | ||
4 | self.scopes.push(ScopeData { parent: None, entries: vec![] }) | ||
5 | } | ||
6 | |||
7 | fn set_parent | ||
8 | } | ||