#![feature(plugin)] #![plugin(rocket_macros)] #[get("/")] //~ ERROR 'name' is declared fn get(_: &str) -> &'static str { "hi" } //~ ERROR isn't in the function fn main() { }