aboutsummaryrefslogtreecommitdiff
path: root/rtic-macros/ui
diff options
context:
space:
mode:
Diffstat (limited to 'rtic-macros/ui')
-rw-r--r--rtic-macros/ui/local-malformed-1.stderr2
-rw-r--r--rtic-macros/ui/local-malformed-2.stderr2
-rw-r--r--rtic-macros/ui/local-malformed-3.stderr2
-rw-r--r--rtic-macros/ui/local-shared-attribute.stderr7
4 files changed, 6 insertions, 7 deletions
diff --git a/rtic-macros/ui/local-malformed-1.stderr b/rtic-macros/ui/local-malformed-1.stderr
index d15c324..6e68f0b 100644
--- a/rtic-macros/ui/local-malformed-1.stderr
+++ b/rtic-macros/ui/local-malformed-1.stderr
@@ -1,4 +1,4 @@
-error: unexpected end of input, expected one of: `for`, parentheses, `fn`, `unsafe`, `extern`, identifier, `::`, `<`, square brackets, `*`, `&`, `!`, `impl`, `_`, lifetime
+error: unexpected end of input, expected one of: `for`, parentheses, `fn`, `unsafe`, `extern`, identifier, `::`, `<`, `dyn`, square brackets, `*`, `&`, `!`, `impl`, `_`, lifetime
--> ui/local-malformed-1.rs:11:23
|
11 | #[task(local = [a:])]
diff --git a/rtic-macros/ui/local-malformed-2.stderr b/rtic-macros/ui/local-malformed-2.stderr
index 0b448f0..ceb0405 100644
--- a/rtic-macros/ui/local-malformed-2.stderr
+++ b/rtic-macros/ui/local-malformed-2.stderr
@@ -2,4 +2,4 @@ error: malformed, expected 'IDENT: TYPE = EXPR'
--> ui/local-malformed-2.rs:11:21
|
11 | #[task(local = [a: u32])]
- | ^^^^^^
+ | ^
diff --git a/rtic-macros/ui/local-malformed-3.stderr b/rtic-macros/ui/local-malformed-3.stderr
index 61af4f3..3636bf1 100644
--- a/rtic-macros/ui/local-malformed-3.stderr
+++ b/rtic-macros/ui/local-malformed-3.stderr
@@ -1,4 +1,4 @@
-error: unexpected end of input, expected expression
+error: unexpected end of input, expected an expression
--> ui/local-malformed-3.rs:11:29
|
11 | #[task(local = [a: u32 =])]
diff --git a/rtic-macros/ui/local-shared-attribute.stderr b/rtic-macros/ui/local-shared-attribute.stderr
index a8130e8..f18f5b7 100644
--- a/rtic-macros/ui/local-shared-attribute.stderr
+++ b/rtic-macros/ui/local-shared-attribute.stderr
@@ -1,6 +1,5 @@
error: attributes are not supported here
- --> ui/local-shared-attribute.rs:17:9
+ --> ui/local-shared-attribute.rs:18:9
|
-17 | / #[test]
-18 | | b, // Error
- | |_________^
+18 | b, // Error
+ | ^