diff --git a/codegen/src/macros/mod.rs b/codegen/src/macros/mod.rs index 1cf6649d..8a220504 100644 --- a/codegen/src/macros/mod.rs +++ b/codegen/src/macros/mod.rs @@ -56,6 +56,6 @@ pub fn routes(ecx: &mut ExtCtxt, sp: Span, args: &[TokenTree]) pub fn errors(ecx: &mut ExtCtxt, sp: Span, args: &[TokenTree]) -> Box { prefixing_vec_macro(CATCH_STRUCT_PREFIX, |ecx, path| { - quote_expr!(ecx, rocket::Catcher::from(&$path)) + quote_expr!(ecx, ::rocket::Catcher::from(&$path)) }, ecx, sp, args) }