From 14b18111821d8e1929df149a8782e9b7c761b1ff Mon Sep 17 00:00:00 2001 From: Ferdia McKeogh Date: Thu, 7 Jun 2018 11:45:11 +0100 Subject: Fix "Could not find `Op` in `proc_macro`" --- macros/src/check.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'macros/src/check.rs') 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 { 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)) }) -- cgit v1.2.3