rust-analyzer/crates/ra_parser/src
bors[bot] 8337dcd9e2
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 <mine809@gmail.com>
2020-02-07 13:21:02 +00:00
..
grammar Merge #3047 2020-02-07 13:21:02 +00:00
syntax_kind Improve const generics parsing 2020-01-07 09:29:03 +10:30
event.rs allow rustfmt to reorder imports 2019-07-04 23:09:09 +03:00
grammar.rs fix(ra_parser.typo): amend 'format language' to 'formal language' 2020-01-15 23:29:55 +02:00
lib.rs ra_syntax: remove code duplication and token reevaluation from ast::Literal::kind() 2020-01-22 13:02:21 +02:00
parser.rs Touch up TokenSet a bit 2019-12-19 17:13:33 +01:00
syntax_kind.rs Added test for check doc strings in crates. 2019-09-30 11:58:53 +03:00
token_set.rs Touch up TokenSet a bit 2019-12-19 17:13:33 +01:00