diff options
author | Emil Lauridsen <[email protected]> | 2020-02-07 12:51:51 +0000 |
---|---|---|
committer | Emil Lauridsen <[email protected]> | 2020-02-07 12:51:51 +0000 |
commit | 73ec2ab184f6d8828ebcdca418a7ae83bb60b0bc (patch) | |
tree | 71dbd689e3bdbf4884d78265f4371e7668bce74c /crates/ra_hir/src/diagnostics.rs | |
parent | 5aba5a756a19a54d5c4edd51d8055db36182688b (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_hir/src/diagnostics.rs')
0 files changed, 0 insertions, 0 deletions