#![feature(plugin)]
#![plugin(rocket_codegen)]

extern crate rocket;

#[get("")]  //~ ERROR can only be used on functions
enum B {  } //~ ERROR but was applied

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

