http server: propagate extensions in http response #4286
GitHub Actions / clippy
failed
Jan 8, 2025 in 1s
clippy
3 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 3 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.83.0 (90b35a623 2024-11-26)
- cargo 1.83.0 (5ffbef321 2024-10-29)
- clippy 0.1.83 (90b35a6 2024-11-26)
Annotations
Check failure on line 512 in core/src/server/method_response.rs
github-actions / clippy
no field `0` on type `server::method_response::BatchResponse`
error[E0609]: no field `0` on type `server::method_response::BatchResponse`
--> core/src/server/method_response.rs:512:20
|
512 | assert_eq!(batch.0, exp_err);
| ^ unknown field
|
= note: available fields are: `result`, `extensions`
Check failure on line 504 in core/src/server/method_response.rs
github-actions / clippy
no field `0` on type `server::method_response::BatchResponse`
error[E0609]: no field `0` on type `server::method_response::BatchResponse`
--> core/src/server/method_response.rs:504:20
|
504 | assert_eq!(batch.0, r#"[{"jsonrpc":"2.0","id":1,"result":"a"},{"jsonrpc":"2.0","id":1,"result":"a"}]"#)
| ^ unknown field
|
= note: available fields are: `result`, `extensions`
Check failure on line 488 in core/src/server/method_response.rs
github-actions / clippy
no field `0` on type `server::method_response::BatchResponse`
error[E0609]: no field `0` on type `server::method_response::BatchResponse`
--> core/src/server/method_response.rs:488:20
|
488 | assert_eq!(batch.0, r#"[{"jsonrpc":"2.0","id":1,"result":"a"}]"#)
| ^ unknown field
|
= note: available fields are: `result`, `extensions`
Loading