aboutsummaryrefslogtreecommitdiff
path: root/macros
diff options
context:
space:
mode:
authorJorge Aparicio <jorge@japaric.io>2019-04-22 22:01:20 +0200
committerJorge Aparicio <jorge@japaric.io>2019-05-01 20:49:25 +0200
commit485601245ba80488193adda7dc6d5bdef337384a (patch)
treeef0f7b35eabf477898ee3e2221caa57e0f5596d2 /macros
parentf30743f52a1283743d0f5e259136f82588fc6bb2 (diff)
rtfm::app: update error message
Diffstat (limited to 'macros')
-rw-r--r--macros/src/check.rs2
1 files changed, 1 insertions, 1 deletions
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",
));
}