-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
61bb214
commit 2117c97
Showing
28 changed files
with
78 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 12 additions & 12 deletions
24
axum-macros/tests/debug_handler/fail/argument_not_extractor.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
error[E0277]: the trait bound `bool: FromRequest<Body>` is not satisfied | ||
error[E0277]: the trait bound `bool: FromRequest<(), Body>` is not satisfied | ||
--> tests/debug_handler/fail/argument_not_extractor.rs:4:23 | ||
| | ||
4 | async fn handler(foo: bool) {} | ||
| ^^^^ the trait `FromRequest<Body>` is not implemented for `bool` | ||
| ^^^^ the trait `FromRequest<(), Body>` is not implemented for `bool` | ||
| | ||
= help: the following other types implement trait `FromRequest<B>`: | ||
() | ||
(T1, T2) | ||
(T1, T2, T3) | ||
(T1, T2, T3, T4) | ||
(T1, T2, T3, T4, T5) | ||
(T1, T2, T3, T4, T5, T6) | ||
(T1, T2, T3, T4, T5, T6, T7) | ||
(T1, T2, T3, T4, T5, T6, T7, T8) | ||
and 33 others | ||
= help: the following other types implement trait `FromRequest<S, B>`: | ||
<() as FromRequest<S, B>> | ||
<(T1, T2) as FromRequest<S, B>> | ||
<(T1, T2, T3) as FromRequest<S, B>> | ||
<(T1, T2, T3, T4) as FromRequest<S, B>> | ||
<(T1, T2, T3, T4, T5) as FromRequest<S, B>> | ||
<(T1, T2, T3, T4, T5, T6) as FromRequest<S, B>> | ||
<(T1, T2, T3, T4, T5, T6, T7) as FromRequest<S, B>> | ||
<(T1, T2, T3, T4, T5, T6, T7, T8) as FromRequest<S, B>> | ||
and 34 others | ||
= help: see issue #48214 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
error: Handlers must only take owned values | ||
--> tests/debug_handler/fail/extract_self_mut.rs:23:22 | ||
--> tests/debug_handler/fail/extract_self_mut.rs:24:22 | ||
| | ||
23 | async fn handler(&mut self) {} | ||
24 | async fn handler(&mut self) {} | ||
| ^^^^^^^^^ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
error: Handlers must only take owned values | ||
--> tests/debug_handler/fail/extract_self_ref.rs:23:22 | ||
--> tests/debug_handler/fail/extract_self_ref.rs:24:22 | ||
| | ||
23 | async fn handler(&self) {} | ||
24 | async fn handler(&self) {} | ||
| ^^^^^ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.