From 7fdf16eab948ea04c1e56fdb5a704ed88780f5c6 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Sun, 8 Apr 2018 18:23:27 +0200 Subject: 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. --- tests/cfail/init-resource-share-task.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/cfail/init-resource-share-task.rs') 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 }, }, } -- cgit v1.2.3