From 5ffab810c0d0525026c6e946123464f1fd075554 Mon Sep 17 00:00:00 2001 From: David Pedersen Date: Fri, 14 Jan 2022 09:32:34 +0100 Subject: [PATCH] Update to changed compiler error in 1.58 (#708) The trybuild tests needed to be updated for 1.58. We only run the tests on stable (but build on other toolchains). --- axum-debug/tests/fail/not_send.stderr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/axum-debug/tests/fail/not_send.stderr b/axum-debug/tests/fail/not_send.stderr index d5dfaff2..5d8bc96e 100644 --- a/axum-debug/tests/fail/not_send.stderr +++ b/axum-debug/tests/fail/not_send.stderr @@ -4,7 +4,7 @@ error: future cannot be sent between threads safely 4 | async fn handler() { | ^^^^^ future returned by `handler` is not `Send` | - = help: within `impl Future`, the trait `Send` is not implemented for `Rc<()>` + = help: within `impl Future`, the trait `Send` is not implemented for `Rc<()>` note: future is not `Send` as this value is used across an await --> tests/fail/not_send.rs:6:5 |