aboutsummaryrefslogtreecommitdiff
path: root/tests/cfail/init-resource-share-task.rs
diff options
context:
space:
mode:
authorJorge Aparicio <jorge@japaric.io>2018-04-08 18:23:27 +0200
committerJorge Aparicio <jorge@japaric.io>2018-04-16 21:32:29 +0200
commit7fdf16eab948ea04c1e56fdb5a704ed88780f5c6 (patch)
treea7438c2353382d5d46a391a1a81f7d05f9e83d65 /tests/cfail/init-resource-share-task.rs
parentb55581dfe35040a4fdc93a1f38c1e1769d4d2535 (diff)
update parser
closes #69 this doesn't change functionality per se but improves diagnostics in some cases. Some hard errors have becomes warnings, for example: when `resources` is empty, or when `idle.path` is set to the default `idle` path.
Diffstat (limited to 'tests/cfail/init-resource-share-task.rs')
-rw-r--r--tests/cfail/init-resource-share-task.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cfail/init-resource-share-task.rs b/tests/cfail/init-resource-share-task.rs
index 8fe6889..391c543 100644
--- a/tests/cfail/init-resource-share-task.rs
+++ b/tests/cfail/init-resource-share-task.rs
@@ -21,8 +21,8 @@ app! { //~ proc macro panicked
tasks: {
SYS_TICK: {
path: sys_tick,
- // ERROR resources assigned to `init` can't be shared with tasks
resources: [BUFFER],
+ //~^ error: this resource is owned by `init` and can't be shared
},
},
}