From ae83e06565c50c4894e1bacf6d7367c607e1b930 Mon Sep 17 00:00:00 2001 From: Songbird0 Date: Thu, 15 Mar 2018 19:09:07 +0100 Subject: [PATCH] Replace 'above' with 'below' in route parse error message. --- codegen/src/parser/route.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codegen/src/parser/route.rs b/codegen/src/parser/route.rs index e6d305e4..4c79c18f 100644 --- a/codegen/src/parser/route.rs +++ b/codegen/src/parser/route.rs @@ -41,7 +41,7 @@ impl RouteParams { -> RouteParams { let function = Function::from(annotated).unwrap_or_else(|item_sp| { ecx.span_err(sp, "this attribute can only be used on functions..."); - ecx.span_fatal(item_sp, "...but was applied to the item above."); + ecx.span_fatal(item_sp, "...but was applied to the item below."); }); let meta_items = meta_item.meta_item_list().unwrap_or_else(|| {