Rocket/core/codegen/tests/ui-fail/bad-ignored-segments.rs

13 lines
146 B
Rust
Raw Normal View History

#[macro_use] extern crate rocket;
#[get("/<_>")]
fn i0() {}
#[get("/c?<_>")]
fn i1() {}
#[post("/d", data = "<_>")]
fn i2() {}
fn main() { }