File: scope-trailing-slash.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 (5 lines) | stat: -rw-r--r-- 225 bytes parent folder | download
1
2
3
4
5
error: scopes should not have trailing slashes; see https://docs.rs/actix-web/4/actix_web/struct.Scope.html#avoid-trailing-slashes
 --> tests/trybuild/scope-trailing-slash.rs:3:9
  |
3 | #[scope("/api/")]
  |         ^^^^^^^