2020-05-08 18:39:11 +02:00
|
|
|
error: Missing Resource struct. Example: #[read_all(MyResource)]
|
|
|
|
--> $DIR/method_no_resource.rs:7:1
|
|
|
|
|
|
|
|
|
7 | #[read_all]
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
|
2020-11-21 14:47:29 +00:00
|
|
|
error[E0433]: failed to resolve: use of undeclared crate or module `_gotham_restful_resource_foo_resource_method_read_all`
|
2020-05-08 18:39:11 +02:00
|
|
|
--> $DIR/method_no_resource.rs:3:10
|
|
|
|
|
|
|
|
|
3 | #[derive(Resource)]
|
2020-11-21 14:47:29 +00:00
|
|
|
| ^^^^^^^^ use of undeclared crate or module `_gotham_restful_resource_foo_resource_method_read_all`
|
2020-05-08 18:39:11 +02:00
|
|
|
|
|
|
|
|
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
|