diff options
| author | Michael Goulet <michael@errs.io> | 2024-10-13 10:09:42 -0400 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-10-15 10:22:03 -0400 |
| commit | dca646ab0107fd311427b7f7c4eea448e9f4ee9e (patch) | |
| tree | a4b0119d5746da9b16b4a8e76145f9632cbb2458 /src/tools/rustfmt/tests | |
| parent | f79fae3069c449993eda6b16934da3b144cb8a66 (diff) | |
Rewrite for<..> async correctly
Diffstat (limited to 'src/tools/rustfmt/tests')
| -rw-r--r-- | src/tools/rustfmt/tests/target/asyncness.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/rustfmt/tests/target/asyncness.rs b/src/tools/rustfmt/tests/target/asyncness.rs index d91ac960499..dd651ed6a62 100644 --- a/src/tools/rustfmt/tests/target/asyncness.rs +++ b/src/tools/rustfmt/tests/target/asyncness.rs @@ -1,3 +1,5 @@ // rustfmt-edition: 2018 fn foo() -> impl async Fn() {} + +fn bar() -> impl for<'a> async Fn(&'a ()) {} |
