2017-08-29 03:14:59 +00:00
|
|
|
#![feature(plugin, decl_macro)]
|
2016-09-29 03:39:14 +00:00
|
|
|
#![plugin(rocket_codegen)]
|
|
|
|
|
|
|
|
extern crate rocket;
|
|
|
|
|
|
|
|
#[get("")] //~ ERROR can only be used on functions
|
|
|
|
trait C { } //~ ERROR but was applied
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
let _ = routes![get];
|
|
|
|
}
|