mirror of
https://gitlab.com/msrd0/gotham-restful.git
synced 2025-04-20 14:57:01 +00:00
Replace methods with more flexible endpoints
This commit is contained in:
parent
0ac0f0f504
commit
b807ae2796
87 changed files with 1497 additions and 1512 deletions
11
tests/ui/endpoint/too_few_args.stderr
Normal file
11
tests/ui/endpoint/too_few_args.stderr
Normal file
|
@ -0,0 +1,11 @@
|
|||
error: Too few arguments
|
||||
--> $DIR/too_few_args.rs:9:4
|
||||
|
|
||||
9 | fn read() {}
|
||||
| ^^^^
|
||||
|
||||
error[E0412]: cannot find type `read___gotham_restful_endpoint` in this scope
|
||||
--> $DIR/too_few_args.rs:5:12
|
||||
|
|
||||
5 | #[resource(read)]
|
||||
| ^^^^ not found in this scope
|
Loading…
Add table
Add a link
Reference in a new issue