mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-23 07:39:25 +01:00
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).
This commit is contained in:
parent
6d01f3968e
commit
5ffab810c0
1 changed files with 1 additions and 1 deletions
|
@ -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<Output = ()>`, 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
|
||||
|
|
||||
|
|
Loading…
Reference in a new issue