mirror of
https://github.com/rwf2/Rocket.git
synced 2024-12-28 13:22:38 +00:00
13 lines
214 B
Rust
13 lines
214 B
Rust
#![feature(plugin)]
|
|
#![plugin(rocket_codegen)]
|
|
|
|
extern crate rocket;
|
|
|
|
#[get("")] //~ ERROR can only be used on functions
|
|
impl C for A { } //~ ERROR but was applied
|
|
|
|
fn main() {
|
|
let _ = routes![get];
|
|
}
|
|
|