aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor/tests/ui.rs
diff options
context:
space:
mode:
authorMatthew Tran <[email protected]>2025-06-01 11:42:33 -0500
committerMatthew Tran <[email protected]>2025-06-01 12:36:46 -0500
commit3cef4f0c04a1f0f56c84950d8fd408979299fa50 (patch)
treee72931d5776ca5fe6dbf23aa09a2b7bc3cf1c009 /embassy-executor/tests/ui.rs
parent0d83fbbb57cf17186a1b8f40f57ef7a35b3e9627 (diff)
Update tests
Diffstat (limited to 'embassy-executor/tests/ui.rs')
-rw-r--r--embassy-executor/tests/ui.rs13
1 files changed, 9 insertions, 4 deletions
diff --git a/embassy-executor/tests/ui.rs b/embassy-executor/tests/ui.rs
index ed8228e27..c4a1a601c 100644
--- a/embassy-executor/tests/ui.rs
+++ b/embassy-executor/tests/ui.rs
@@ -17,10 +17,15 @@ 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 20 if rustversion::cfg!(stable) {
21 // t.compile_fail("tests/ui/bad_return_impl_trait.rs"); 21 // output is slightly different on nightly
22 #[cfg(feature = "nightly")] 22 t.compile_fail("tests/ui/bad_return_impl_future.rs");
23 t.compile_fail("tests/ui/bad_return_impl_trait_nightly.rs"); 23 t.compile_fail("tests/ui/return_impl_send.rs");
24 }
25 if cfg!(feature = "nightly") {
26 t.compile_fail("tests/ui/bad_return_impl_future_nightly.rs");
27 t.compile_fail("tests/ui/return_impl_send_nightly.rs");
28 }
24 t.compile_fail("tests/ui/self_ref.rs"); 29 t.compile_fail("tests/ui/self_ref.rs");
25 t.compile_fail("tests/ui/self.rs"); 30 t.compile_fail("tests/ui/self.rs");
26 t.compile_fail("tests/ui/type_error.rs"); 31 t.compile_fail("tests/ui/type_error.rs");