diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-02-07 13:21:02 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-02-07 13:21:02 +0000 |
commit | 8337dcd9e277feac8e9cff621c752a3e86ba19e6 (patch) | |
tree | f9658afc43f76b864a7a6e49b6349d12283632c8 /crates/ra_hir_def/src/path | |
parent | 6d6a995e09c74a8b1075842fb3cd7232354389ae (diff) | |
parent | 73ec2ab184f6d8828ebcdca418a7ae83bb60b0bc (diff) |
Merge #3047
3047: Update async unsafe fn ordering in parser r=matklad a=kiljacken
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
Co-authored-by: Emil Lauridsen <[email protected]>
Diffstat (limited to 'crates/ra_hir_def/src/path')
0 files changed, 0 insertions, 0 deletions