Skip to content

Commit dbf45eb

Browse files
renovate[bot]ahl
andauthored
Update dependency rust to v1.90.0 (#1432)
* Update dependency rust to v1.90.0 * fixtures and unused code --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Adam H. Leventhal <[email protected]>
1 parent 3889f74 commit dbf45eb

File tree

7 files changed

+10
-13
lines changed

7 files changed

+10
-13
lines changed

dropshot/src/api_description.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1774,9 +1774,6 @@ mod test {
17741774

17751775
#[test]
17761776
fn test_dup_names() {
1777-
#[derive(Deserialize, JsonSchema)]
1778-
struct AStruct {}
1779-
17801777
#[allow(dead_code)]
17811778
#[derive(Deserialize, JsonSchema)]
17821779
struct TheThing {

dropshot/tests/fail/bad_endpoint12.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ error[E0277]: the trait bound `String: HttpResponse` is not satisfied
1717
note: required by a bound in `validate_response_type`
1818
--> tests/fail/bad_endpoint12.rs:9:1
1919
|
20-
9 | / #[endpoint {
20+
9 | / #[endpoint {
2121
10 | | method = GET,
2222
11 | | path = "/test",
2323
12 | | }]
@@ -30,7 +30,7 @@ note: required by a bound in `validate_response_type`
3030
error[E0277]: the trait bound `fn(RequestContext<()>) -> impl Future<Output = Result<String, HttpError>> {<impl std::convert::From<bad_response_type> for ApiEndpoint<<RequestContext<()> as RequestContextArgument>::Context>>::from::bad_response_type}: dropshot::handler::HttpHandlerFunc<_, _, _>` is not satisfied
3131
--> tests/fail/bad_endpoint12.rs:13:10
3232
|
33-
9 | / #[endpoint {
33+
9 | / #[endpoint {
3434
10 | | method = GET,
3535
11 | | path = "/test",
3636
12 | | }]

dropshot/tests/fail/bad_trait_endpoint10.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ note: required by a bound in `ApiEndpoint::<StubContext>::new_for_types`
1919
error[E0277]: the trait bound `fn(RequestContext<<ServerImpl as MyApi>::Context>) -> impl Future<Output = Result<dropshot::HttpResponseUpdatedNoContent, String>> + Send + 'static {<ServerImpl as MyApi>::bad_error_type}: dropshot::handler::HttpHandlerFunc<_, _, _>` is not satisfied
2020
--> tests/fail/bad_trait_endpoint10.rs:13:5
2121
|
22-
9 | #[dropshot::api_description]
22+
9 | #[dropshot::api_description]
2323
| ---------------------------- required by a bound introduced by this call
2424
...
2525
13 | / #[endpoint {

dropshot/tests/fail/bad_trait_only11.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
error: API trait `MyApi` must not have a where clause
22
--> tests/fail/bad_trait_only11.rs:9:1
33
|
4-
9 | / where
4+
9 | / where
55
10 | | usize: std::fmt::Debug,
66
| |___________________________^
77

dropshot/tests/fail/bad_trait_only13.stderr

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ error: cannot find attribute `endpoint` in this scope
2222
|
2323
help: consider importing one of these attribute macros
2424
|
25-
5 + use dropshot::endpoint;
25+
5 + use dropshot::endpoint;
2626
|
27-
5 + use dropshot_endpoint::endpoint;
27+
5 + use dropshot_endpoint::endpoint;
2828
|
2929

3030
error: cannot find attribute `channel` in this scope
@@ -35,7 +35,7 @@ error: cannot find attribute `channel` in this scope
3535
|
3636
help: consider importing one of these attribute macros
3737
|
38-
5 + use dropshot::channel;
38+
5 + use dropshot::channel;
3939
|
40-
5 + use dropshot_endpoint::channel;
40+
5 + use dropshot_endpoint::channel;
4141
|

dropshot/tests/fail/unused_endpoint.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ error: constant `unused_endpoint` is never used
77
note: the lint level is defined here
88
--> tests/fail/unused_endpoint.rs:5:9
99
|
10-
5 | #![deny(dead_code)]
10+
5 | #![deny(dead_code)]
1111
| ^^^^^^^^^

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
# The intent is to keep this updated as new stable versions are relased.
55

66
[toolchain]
7-
channel = "1.89.0"
7+
channel = "1.90.0"
88
profile = "default"

0 commit comments

Comments
 (0)