diff options
author | Unreal Hoang <[email protected]> | 2019-07-20 09:41:31 +0100 |
---|---|---|
committer | Unreal Hoang <[email protected]> | 2019-07-20 09:41:31 +0100 |
commit | 3a7f07c62d3dd253d63c483ee291d9471f539479 (patch) | |
tree | 7a717bb2a51489b4e1bc50895bff45f1e217f15c /crates/ra_syntax/tests/data/parser/inline/ok/0137_await_expr.rs | |
parent | e18f8495d6569f4fc0b7457b65a1d199cf7b5974 (diff) |
add await to syntax, parser for await_expr
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/inline/ok/0137_await_expr.rs')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/inline/ok/0137_await_expr.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0137_await_expr.rs b/crates/ra_syntax/tests/data/parser/inline/ok/0137_await_expr.rs new file mode 100644 index 000000000..d2ba89ca6 --- /dev/null +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0137_await_expr.rs | |||
@@ -0,0 +1,5 @@ | |||
1 | fn foo() { | ||
2 | x.await; | ||
3 | x.0.await; | ||
4 | x.0().await?.hello(); | ||
5 | } | ||