Skip to content

Commit

Permalink
fix: ui tests for rust 1.84 (#1517)
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasad1 authored Jan 10, 2025
1 parent 0ab5b09 commit 6011547
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions proc-macros/tests/ui/incorrect/rpc/rpc_empty_bounds.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ error[E0277]: the trait bound `<Conf as Config>::Hash: Serialize` is not satisfi
--> tests/ui/incorrect/rpc/rpc_empty_bounds.rs:9:1
|
9 | #[rpc(server, client, namespace = "foo", client_bounds(), server_bounds())]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Serialize` is not implemented for `<Conf as Config>::Hash`, which is required by `Result<<Conf as Config>::Hash, ErrorObject<'_>>: IntoResponse`
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Serialize` is not implemented for `<Conf as Config>::Hash`
|
= note: for local types consider adding `#[derive(serde::Serialize)]` to your `<Conf as Config>::Hash` type
= note: for types from other crates check whether the crate offers a `serde` feature flag
Expand All @@ -13,7 +13,7 @@ error[E0277]: the trait bound `<Conf as Config>::Hash: Clone` is not satisfied
--> tests/ui/incorrect/rpc/rpc_empty_bounds.rs:9:1
|
9 | #[rpc(server, client, namespace = "foo", client_bounds(), server_bounds())]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `<Conf as Config>::Hash`, which is required by `Result<<Conf as Config>::Hash, ErrorObject<'_>>: IntoResponse`
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `<Conf as Config>::Hash`
|
= note: required for `Result<<Conf as Config>::Hash, ErrorObject<'_>>` to implement `IntoResponse`
= note: this error originates in the attribute macro `rpc` (in Nightly builds, run with -Z macro-backtrace for more info)
Expand All @@ -22,7 +22,7 @@ error[E0277]: the trait bound `<Conf as Config>::Hash: DeserializeOwned` is not
--> tests/ui/incorrect/rpc/rpc_empty_bounds.rs:9:1
|
9 | #[rpc(server, client, namespace = "foo", client_bounds(), server_bounds())]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `<Conf as Config>::Hash`, which is required by `<Conf as Config>::Hash: DeserializeOwned`
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `<Conf as Config>::Hash`
|
= note: required for `<Conf as Config>::Hash` to implement `DeserializeOwned`
note: required by a bound in `request`
Expand Down

0 comments on commit 6011547

Please sign in to comment.