diff --git a/codegen/tests/compile-fail/malformed-param-list.rs b/codegen/tests/compile-fail/malformed-param-list.rs index 9cba9bf4..08160126 100644 --- a/codegen/tests/compile-fail/malformed-param-list.rs +++ b/codegen/tests/compile-fail/malformed-param-list.rs @@ -5,21 +5,21 @@ fn get() -> &'static str { "hi" } #[get("/<")] //~ ERROR malformed -fn get(name: &str) -> &'static str { "hi" } +fn get1(name: &str) -> &'static str { "hi" } #[get("/<<<<")] //~ ERROR identifiers -fn get(name: &str) -> &'static str { "hi" } +fn get2(name: &str) -> &'static str { "hi" } #[get("/")] //~ ERROR identifiers -fn get() -> &'static str { "hi" } +fn get3() -> &'static str { "hi" } #[get("/<_>")] //~ ERROR ignored -fn get() -> &'static str { "hi" } +fn get4() -> &'static str { "hi" } #[get("/<1>")] //~ ERROR identifiers -fn get() -> &'static str { "hi" } +fn get5() -> &'static str { "hi" } #[get("/<>name><")] //~ ERROR cannot be empty -fn get() -> &'static str { "hi" } +fn get6() -> &'static str { "hi" } fn main() { }