mirror of
https://github.com/fafhrd91/actix-web
synced 2024-12-18 01:43:58 +01:00
18 lines
521 B
Plaintext
18 lines
521 B
Plaintext
|
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)]
|
||
|
| ^^^
|