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

16 lines
357 B
Plaintext
Raw Normal View History

error: parameter must be named
--> $DIR/bad-ignored-segments.rs:6:11
|
6 | #[get("/c?<_>")]
| ^^^
|
= help: use a name such as `_guard` or `_param`
error: parameter must be named
--> $DIR/bad-ignored-segments.rs:9:22
|
9 | #[post("/d", data = "<_>")]
| ^^^
|
= help: use a name such as `_guard` or `_param`