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-idle.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/cfail/init-resource-share-idle.rs') diff --git a/tests/cfail/init-resource-share-idle.rs b/tests/cfail/init-resource-share-idle.rs index d833246..4e2ed4a 100644 --- a/tests/cfail/init-resource-share-idle.rs +++ b/tests/cfail/init-resource-share-idle.rs @@ -19,8 +19,8 @@ app! { //~ proc macro panicked }, idle: { - // ERROR resources assigned to `init` can't be shared with `idle` resources: [BUFFER], + //~^ error: this resource is owned by `init` and can't be shared }, } -- cgit v1.2.3