From 6011547952084eec10871dd5a2170bd055486e39 Mon Sep 17 00:00:00 2001 From: Niklas Adolfsson Date: Fri, 10 Jan 2025 17:07:33 +0100 Subject: [PATCH] fix: ui tests for rust 1.84 (#1517) --- proc-macros/tests/ui/incorrect/rpc/rpc_empty_bounds.stderr | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/proc-macros/tests/ui/incorrect/rpc/rpc_empty_bounds.stderr b/proc-macros/tests/ui/incorrect/rpc/rpc_empty_bounds.stderr index 33beae6bcb..64d05937b1 100644 --- a/proc-macros/tests/ui/incorrect/rpc/rpc_empty_bounds.stderr +++ b/proc-macros/tests/ui/incorrect/rpc/rpc_empty_bounds.stderr @@ -2,7 +2,7 @@ error[E0277]: the trait bound `::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 `::Hash`, which is required by `Result<::Hash, ErrorObject<'_>>: IntoResponse` + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Serialize` is not implemented for `::Hash` | = note: for local types consider adding `#[derive(serde::Serialize)]` to your `::Hash` type = note: for types from other crates check whether the crate offers a `serde` feature flag @@ -13,7 +13,7 @@ error[E0277]: the trait bound `::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 `::Hash`, which is required by `Result<::Hash, ErrorObject<'_>>: IntoResponse` + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `::Hash` | = note: required for `Result<::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) @@ -22,7 +22,7 @@ error[E0277]: the trait bound `::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 `::Hash`, which is required by `::Hash: DeserializeOwned` + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `::Hash` | = note: required for `::Hash` to implement `DeserializeOwned` note: required by a bound in `request`