File: route-malformed-path-fail.stderr

package info (click to toggle)
rust-actix-web-codegen 4.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 272 kB
  • sloc: makefile: 2
file content (39 lines) | stat: -rw-r--r-- 1,133 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
error: custom attribute panicked
 --> $DIR/route-malformed-path-fail.rs:3:1
  |
3 | #[get("/{")]
  | ^^^^^^^^^^^^
  |
  = help: message: pattern "{" contains malformed dynamic segment

error: custom attribute panicked
 --> $DIR/route-malformed-path-fail.rs:8:1
  |
8 | #[get("/{foo")]
  | ^^^^^^^^^^^^^^^
  |
  = help: message: pattern "{foo" contains malformed dynamic segment

error: custom attribute panicked
  --> $DIR/route-malformed-path-fail.rs:13:1
   |
13 | #[get("/{}")]
   | ^^^^^^^^^^^^^
   |
   = help: message: Wrong path pattern: "/{}" empty capture group names are not allowed

error: custom attribute panicked
  --> $DIR/route-malformed-path-fail.rs:23:1
   |
23 | #[get("/{tail:\\d+}*")]
   | ^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: message: custom regex is not supported for tail match

error: custom attribute panicked
  --> $DIR/route-malformed-path-fail.rs:28:1
   |
28 | #[get("/{a}/{b}/{c}/{d}/{e}/{f}/{g}/{h}/{i}/{j}/{k}/{l}/{m}/{n}/{o}/{p}/{q}")]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: message: Only 16 dynamic segments are allowed, provided: 17