diff options
Diffstat (limited to 'macros/ui/local-shared-attribute.rs')
-rw-r--r-- | macros/ui/local-shared-attribute.rs | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/macros/ui/local-shared-attribute.rs b/macros/ui/local-shared-attribute.rs deleted file mode 100644 index c594b5f6..00000000 --- a/macros/ui/local-shared-attribute.rs +++ /dev/null @@ -1,21 +0,0 @@ -#![no_main] - -#[rtic_macros::mock_app(device = mock)] -mod app { - #[shared] - struct Shared {} - - #[local] - struct Local {} - - #[init] - fn init(_: init::Context) -> (Shared, Local) {} - - #[task(local = [ - #[test] - a: u32 = 0, // Ok - #[test] - b, // Error - ])] - fn foo(_: foo::Context) {} -} |