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
8
tests/ui/resource/unknown_method.stderr
Normal file
8
tests/ui/resource/unknown_method.stderr
Normal file
|
@ -0,0 +1,8 @@
|
|||
error[E0412]: cannot find type `read_any___gotham_restful_endpoint` in this scope
|
||||
--> $DIR/unknown_method.rs:5:12
|
||||
|
|
||||
5 | #[resource(read_any)]
|
||||
| ^^^^^^^^ help: a struct with a similar name exists: `read_all___gotham_restful_endpoint`
|
||||
...
|
||||
8 | #[read_all]
|
||||
| ----------- similarly named struct `read_all___gotham_restful_endpoint` defined here
|
Loading…
Add table
Add a link
Reference in a new issue