diff options
| author | Dario Nieuwenhuis <[email protected]> | 2025-07-08 20:19:01 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2025-07-08 20:27:35 +0200 |
| commit | 2fe2a0cf9c15bf7e84134cd7fec48017bb0a0db7 (patch) | |
| tree | e9603081d1c84297878ace77762adbbaa92cb7a3 /embassy-executor/tests/ui.rs | |
| parent | 504261a8d0bc58fcfa8b73245eaf859f88d62a94 (diff) | |
excutor: fix Send unsoundness with `-> impl Future` tasks.
Diffstat (limited to 'embassy-executor/tests/ui.rs')
| -rw-r--r-- | embassy-executor/tests/ui.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/embassy-executor/tests/ui.rs b/embassy-executor/tests/ui.rs index c4a1a601c..7757775ee 100644 --- a/embassy-executor/tests/ui.rs +++ b/embassy-executor/tests/ui.rs | |||
| @@ -17,6 +17,8 @@ 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 | t.compile_fail("tests/ui/spawn_nonsend.rs"); | ||
| 21 | t.compile_fail("tests/ui/return_impl_future_nonsend.rs"); | ||
| 20 | if rustversion::cfg!(stable) { | 22 | if rustversion::cfg!(stable) { |
| 21 | // output is slightly different on nightly | 23 | // output is slightly different on nightly |
| 22 | t.compile_fail("tests/ui/bad_return_impl_future.rs"); | 24 | t.compile_fail("tests/ui/bad_return_impl_future.rs"); |
