mirror of
https://github.com/rwf2/Rocket.git
synced 2024-12-29 05:42:35 +00:00
11 lines
268 B
Rust
11 lines
268 B
Rust
#![feature(proc_macro_hygiene)]
|
|
|
|
#[macro_use] extern crate rocket;
|
|
|
|
fn main() {
|
|
let _ = routes![a b]; //~ ERROR expected `,`
|
|
let _ = routes![];
|
|
let _ = routes![a::, ]; //~ ERROR expected identifier
|
|
let _ = routes![a::]; //~ ERROR expected identifier
|
|
}
|