Skip to content

Commit

Permalink
Update to changed compiler error in 1.58 (#708)
Browse files Browse the repository at this point in the history
The trybuild tests needed to be updated for 1.58. We only run the tests
on stable (but build on other toolchains).
  • Loading branch information
davidpdrsn committed Feb 22, 2022
1 parent cab7d67 commit 2152f64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion axum-debug/tests/fail/not_send.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -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
|
Expand Down

0 comments on commit 2152f64

Please sign in to comment.