mirror of
https://gitlab.com/msrd0/gotham-restful.git
synced 2025-02-23 21:12:28 +00:00
15 lines
543 B
Text
15 lines
543 B
Text
|
error: Unknown method: `read_any'
|
||
|
--> $DIR/resource_unknown_method.rs:4:12
|
||
|
|
|
||
|
4 | #[resource(read_any)]
|
||
|
| ^^^^^^^^
|
||
|
|
||
|
error[E0277]: the trait bound `FooResource: gotham_restful::Resource` is not satisfied
|
||
|
--> $DIR/resource_unknown_method.rs:7:1
|
||
|
|
|
||
|
7 | #[read_all(FooResource)]
|
||
|
| ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `gotham_restful::Resource` is not implemented for `FooResource`
|
||
|
|
|
||
|
= help: see issue #48214
|
||
|
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
|