From 485601245ba80488193adda7dc6d5bdef337384a Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Mon, 22 Apr 2019 22:01:20 +0200 Subject: rtfm::app: update error message --- macros/src/check.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'macros/src') diff --git a/macros/src/check.rs b/macros/src/check.rs index 6ba7d37..4471e96 100644 --- a/macros/src/check.rs +++ b/macros/src/check.rs @@ -119,7 +119,7 @@ pub fn app(app: &App) -> parse::Result<()> { } else if app.init.returns_late_resources { return Err(parse::Error::new( Span::call_site(), - "`init` signature must be `[unsafe] fn()` if there are no late resources", + "`init` signature must be `fn(init::Context)` if there are no late resources", )); } -- cgit v1.2.3