rocket_codegen 0.3.17

Code generation for the Rocket web framework.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#![feature(plugin)]
#![plugin(rocket_codegen)]

#[get("a")] //~ ERROR absolute
fn get() -> &'static str { "hi" }

#[get("")] //~ ERROR absolute
fn get1(id: usize) -> &'static str { "hi" }

#[get("a/b/c")] //~ ERROR absolute
fn get2(id: usize) -> &'static str { "hi" }

fn main() {  }