mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-04 09:18:46 +00:00
73ec2ab184
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 |
||
---|---|---|
.. | ||
0001_array_type_missing_semi.rs | ||
0001_array_type_missing_semi.txt | ||
0002_misplaced_label_err.rs | ||
0002_misplaced_label_err.txt | ||
0003_pointer_type_no_mutability.rs | ||
0003_pointer_type_no_mutability.txt | ||
0004_impl_type.rs | ||
0004_impl_type.txt | ||
0005_fn_pointer_type_missing_fn.rs | ||
0005_fn_pointer_type_missing_fn.txt | ||
0006_unsafe_block_in_mod.rs | ||
0006_unsafe_block_in_mod.txt | ||
0007_async_without_semicolon.rs | ||
0007_async_without_semicolon.txt | ||
0008_pub_expr.rs | ||
0008_pub_expr.txt | ||
0009_attr_on_expr_not_allowed.rs | ||
0009_attr_on_expr_not_allowed.txt | ||
0010_bad_tuple_index_expr.rs | ||
0010_bad_tuple_index_expr.txt | ||
0010_wrong_order_fns.rs | ||
0010_wrong_order_fns.txt | ||
0013_static_underscore.rs | ||
0013_static_underscore.txt | ||
0014_default_fn_type.rs | ||
0014_default_fn_type.txt |