File: scope-invalid-args.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 (17 lines) | stat: -rw-r--r-- 521 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
error: argument to scope macro is not a string literal, expected: #[scope("/prefix")]
 --> tests/trybuild/scope-invalid-args.rs:5:9
  |
5 | #[scope(PATH)]
  |         ^^^^

error: argument to scope macro is not a string literal, expected: #[scope("/prefix")]
 --> tests/trybuild/scope-invalid-args.rs:8:9
  |
8 | #[scope(true)]
  |         ^^^^

error: argument to scope macro is not a string literal, expected: #[scope("/prefix")]
  --> tests/trybuild/scope-invalid-args.rs:11:9
   |
11 | #[scope(123)]
   |         ^^^