rocket_codegen 0.2.9

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

extern crate rocket;

#[get("")] //~ ERROR can only be used on functions
struct A;  //~ ERROR but was applied

fn main() {
    let _ = routes![get];
}