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-23 01:22:03 +01:00
|
|
|
error[E0425]: cannot find function `_gotham_restful_foo_resource_read_all_setup_impl` in this scope
|
2020-05-08 18:39:11 +02:00
|
|
|
--> $DIR/method_no_resource.rs:3:10
|
|
|
|
|
|
|
|
|
3 | #[derive(Resource)]
|
2020-11-23 01:22:03 +01:00
|
|
|
| ^^^^^^^^ not found in this scope
|
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)
|