Rocket/codegen/tests/compile-fail/bad-ident-argument.rs
2016-09-08 20:38:58 -07:00

10 lines
158 B
Rust

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