1
0
Fork 0
ruma/crates/ruma-common/tests/it/api/ui/serde-flatten-request-body.stderr
Kévin Commaille 6a7935e979 api: Update trybuild output
Some wording has changed and warnings are added because of the `unexpected_cfgs` lint.
2025-01-09 20:54:14 +01:00

6 lines
244 B
Text

error: Use `#[ruma_api(body)]` to represent the JSON body as a single field
--> tests/it/api/ui/serde-flatten-request-body.rs:25:5
|
25 | / #[serde(flatten)]
26 | | pub foo: CustomRequestBody,
| |______________________________^