Rocket/core/codegen/tests/ui-fail/routes.rs

9 lines
235 B
Rust
Raw Normal View History

#[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
}