mirror of https://github.com/rwf2/Rocket.git
8 lines
183 B
Rust
8 lines
183 B
Rust
|
#![feature(plugin)]
|
||
|
#![plugin(rocket_macros)]
|
||
|
|
||
|
#[get("/<name>")] //~ ERROR 'name' is declared
|
||
|
fn get(_: &str) -> &'static str { "hi" } //~ ERROR isn't in the function
|
||
|
|
||
|
fn main() { }
|