From d0aaa2a805afdda30b49b3dfdb7072f302855a79 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Sun, 21 Apr 2019 20:20:15 +0200 Subject: update compile-fail tests --- tests/cfail/resource-pub.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/cfail/resource-pub.rs') diff --git a/tests/cfail/resource-pub.rs b/tests/cfail/resource-pub.rs index 970fc6c..3fb21f4 100644 --- a/tests/cfail/resource-pub.rs +++ b/tests/cfail/resource-pub.rs @@ -13,5 +13,5 @@ const APP: () = { //~^ ERROR resources must have inherited / private visibility #[init] - fn init() {} + fn init(_: init::Context) {} }; -- cgit v1.2.3