diff options
| author | Matthew Tran <[email protected]> | 2025-05-28 22:00:25 -0500 |
|---|---|---|
| committer | Matthew Tran <[email protected]> | 2025-05-28 23:37:17 -0500 |
| commit | a4d4f62a1e0e808ec3dd93e282f517a2f8ad9fa5 (patch) | |
| tree | 30529d5f171a70131885c840b6de040da6c5082a /embassy-executor/tests/ui.rs | |
| parent | 4766cc6f9756b54bb2e25be5ba5276538ea4917b (diff) | |
Allow `-> impl Future<Output = ()>` in #[task]
Diffstat (limited to 'embassy-executor/tests/ui.rs')
| -rw-r--r-- | embassy-executor/tests/ui.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/embassy-executor/tests/ui.rs b/embassy-executor/tests/ui.rs index 278a4b903..ed8228e27 100644 --- a/embassy-executor/tests/ui.rs +++ b/embassy-executor/tests/ui.rs | |||
| @@ -17,6 +17,10 @@ fn ui() { | |||
| 17 | t.compile_fail("tests/ui/nonstatic_struct_elided.rs"); | 17 | t.compile_fail("tests/ui/nonstatic_struct_elided.rs"); |
| 18 | t.compile_fail("tests/ui/nonstatic_struct_generic.rs"); | 18 | t.compile_fail("tests/ui/nonstatic_struct_generic.rs"); |
| 19 | t.compile_fail("tests/ui/not_async.rs"); | 19 | t.compile_fail("tests/ui/not_async.rs"); |
| 20 | // #[cfg(not(feature = "nightly"))] // output differs on stable and nightly | ||
| 21 | // t.compile_fail("tests/ui/bad_return_impl_trait.rs"); | ||
| 22 | #[cfg(feature = "nightly")] | ||
| 23 | t.compile_fail("tests/ui/bad_return_impl_trait_nightly.rs"); | ||
| 20 | t.compile_fail("tests/ui/self_ref.rs"); | 24 | t.compile_fail("tests/ui/self_ref.rs"); |
| 21 | t.compile_fail("tests/ui/self.rs"); | 25 | t.compile_fail("tests/ui/self.rs"); |
| 22 | t.compile_fail("tests/ui/type_error.rs"); | 26 | t.compile_fail("tests/ui/type_error.rs"); |
