From 07e8a6d8fecc623c8906d118a687f5fc931459b7 Mon Sep 17 00:00:00 2001 From: David Pedersen Date: Fri, 25 Feb 2022 11:30:10 +0100 Subject: [PATCH] Update trybuild test to rust 1.59 output --- axum-macros/tests/debug_handler/fail/not_send.stderr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/axum-macros/tests/debug_handler/fail/not_send.stderr b/axum-macros/tests/debug_handler/fail/not_send.stderr index 9c6528a8..3e9019cf 100644 --- a/axum-macros/tests/debug_handler/fail/not_send.stderr +++ b/axum-macros/tests/debug_handler/fail/not_send.stderr @@ -6,12 +6,12 @@ error: future cannot be sent between threads safely | = 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/debug_handler/fail/not_send.rs:6:5 + --> tests/debug_handler/fail/not_send.rs:6:13 | 5 | let rc = std::rc::Rc::new(()); | -- has type `Rc<()>` which is not `Send` 6 | async {}.await; - | ^^^^^^^^^^^^^^ await occurs here, with `rc` maybe used later + | ^^^^^^ await occurs here, with `rc` maybe used later 7 | } | - `rc` is later dropped here note: required by a bound in `check`