diff options
| author | Henrik Tjäder <henrik@tjaders.com> | 2020-04-22 11:48:36 +0000 |
|---|---|---|
| committer | Henrik Tjäder <henrik@tjaders.com> | 2020-09-25 14:29:34 +0000 |
| commit | 79b62797f549a71531bf5ede39cc6695871b7251 (patch) | |
| tree | 2e739d834b62e747c46ed7ddd7878fa3b4048086 /ui/single/resources-cfg.rs | |
| parent | 8df2ec11b0ee3209678dcc1b1a5baa479fa1dfe5 (diff) | |
Update the test suite to use mod instead of const
Changes MSRV to 1.42, failing tests updated to match 1.42.
Diffstat (limited to 'ui/single/resources-cfg.rs')
| -rw-r--r-- | ui/single/resources-cfg.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/single/resources-cfg.rs b/ui/single/resources-cfg.rs index df7ac80..fd03f58 100644 --- a/ui/single/resources-cfg.rs +++ b/ui/single/resources-cfg.rs @@ -1,7 +1,7 @@ #![no_main] #[rtic::app(device = lm3s6965)] -const APP: () = { +mod APP { struct Resources { #[cfg(never)] #[init(0)] @@ -72,4 +72,4 @@ const APP: () = { c.resources.s2; c.resources.o5; } -}; +} |
