diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-02-16 14:16:47 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-02-16 14:16:47 +0000 |
commit | b7a6d830beaa2669f6ddff3167eb94b941e73339 (patch) | |
tree | 623696cb6b985de75ddcf3809feba421a19128c6 /crates/syntax/test_data/parser/inline/ok/0162_default_async_unsafe_fn.rs | |
parent | 88e8b0a5fa17075475c75941932056f7289c5bcf (diff) | |
parent | 95d239da99cb1b7ba60f5f20f6df54e1397a1bca (diff) |
Merge #7687
7687: Specialization for async traits r=matklad a=arnaudgolfouse
Fixes #7669.
Adapting the parser seemed to be all that was needed, but I am not very experienced with the codebase. Is this enough ?
Co-authored-by: Arnaud <[email protected]>
Diffstat (limited to 'crates/syntax/test_data/parser/inline/ok/0162_default_async_unsafe_fn.rs')
-rw-r--r-- | crates/syntax/test_data/parser/inline/ok/0162_default_async_unsafe_fn.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/syntax/test_data/parser/inline/ok/0162_default_async_unsafe_fn.rs b/crates/syntax/test_data/parser/inline/ok/0162_default_async_unsafe_fn.rs new file mode 100644 index 000000000..05c20a68f --- /dev/null +++ b/crates/syntax/test_data/parser/inline/ok/0162_default_async_unsafe_fn.rs | |||
@@ -0,0 +1,3 @@ | |||
1 | impl T for Foo { | ||
2 | default async unsafe fn foo() {} | ||
3 | } | ||