aboutsummaryrefslogtreecommitdiff
path: root/macros/src/check.rs
diff options
context:
space:
mode:
authorFerdia McKeogh <chocol4te@users.noreply.github.com>2018-06-07 11:45:11 +0100
committerFerdia McKeogh <chocol4te@users.noreply.github.com>2018-06-07 11:45:11 +0100
commit14b18111821d8e1929df149a8782e9b7c761b1ff (patch)
treeafa829e305becf0be98b3dd86fc52c256edf7805 /macros/src/check.rs
parent53dbbad891e1c223ba5b1939e114b37667011f11 (diff)
Fix "Could not find `Op` in `proc_macro`"
Diffstat (limited to 'macros/src/check.rs')
-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 4defb46..b81fc4d 100644
--- a/macros/src/check.rs
+++ b/macros/src/check.rs
@@ -61,7 +61,7 @@ pub fn app(app: check::App) -> Result<App> {
tasks: app.tasks
.into_iter()
.map(|(k, v)| {
- let v = ::check::task(k.as_ref(), v)?;
+ let v = ::check::task(&k.to_string(), v)?;
Ok((k, v))
})