aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/parser/inline/ok/0128_combined_fns.rs
diff options
context:
space:
mode:
authorEmil Lauridsen <[email protected]>2020-02-07 12:51:51 +0000
committerEmil Lauridsen <[email protected]>2020-02-07 12:51:51 +0000
commit73ec2ab184f6d8828ebcdca418a7ae83bb60b0bc (patch)
tree71dbd689e3bdbf4884d78265f4371e7668bce74c /crates/ra_syntax/test_data/parser/inline/ok/0128_combined_fns.rs
parent5aba5a756a19a54d5c4edd51d8055db36182688b (diff)
Update async unsafe fn ordering.
As of rust-lang/rust#61319 the correct order for functions that are both unsafe and async is: `async unsafe fn` and not `unsafe async fn`. This commit updates the parser tests to reflect this, and corrects parsing behavior to accept the correct ordering. Fixes #3025
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0128_combined_fns.rs')
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0128_combined_fns.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0128_combined_fns.rs b/crates/ra_syntax/test_data/parser/inline/ok/0128_combined_fns.rs
index 46af91b82..126287145 100644
--- a/crates/ra_syntax/test_data/parser/inline/ok/0128_combined_fns.rs
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0128_combined_fns.rs
@@ -1,2 +1,2 @@
1unsafe async fn foo() {} 1async unsafe fn foo() {}
2const unsafe fn bar() {} 2const unsafe fn bar() {}