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

10 lines
171 B
Rust

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