2016-09-09 00:09:35 +00:00
|
|
|
#![feature(plugin)]
|
|
|
|
#![plugin(rocket_macros)]
|
|
|
|
|
|
|
|
#[get("/<name>")] //~ ERROR 'name' is declared
|
2016-09-09 03:25:07 +00:00
|
|
|
fn get(other: &str) -> &'static str { "hi" } //~ ERROR isn't in the function
|
2016-09-09 00:09:35 +00:00
|
|
|
|
|
|
|
fn main() { }
|