Rocket/codegen/tests/compile-fail/bad-ident-argument.rs

10 lines
158 B
Rust

#![feature(plugin)]
#![plugin(rocket_codegen)]
extern crate rocket;
#[get("/")]
fn get(_: &str) -> &'static str { "hi" } //~ ERROR argument
fn main() { }