diff options
author | Matt Mastracci <matthew@mastracci.com> | 2023-11-27 16:12:55 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-27 23:12:55 +0000 |
commit | 8ce4ddc407219fe724e1df4400ff9b14321e2fd1 (patch) | |
tree | f0cd9936926f2c107dea745edce78e5b32e39481 /ext/http/service.rs | |
parent | 3e83d686a805aa11cb05f665b0d9ed8f95a784cd (diff) |
chore(ext/http): fix E0446 on some compiler versions (#21362)
Rust 1.74 may have made this code temporarily valid in [#113126 Replace
old private-in-public diagnostic with type privacy
lints](https://github.com/rust-lang/rust/pull/113126), so we didn't
catch it at build time.
It fails in 1.73 and +nightly, however.
Diffstat (limited to 'ext/http/service.rs')
-rw-r--r-- | ext/http/service.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/http/service.rs b/ext/http/service.rs index c232962be..4d909ec61 100644 --- a/ext/http/service.rs +++ b/ext/http/service.rs @@ -176,7 +176,7 @@ impl Drop for HttpRequestBodyAutocloser { } } -pub async fn handle_request( +pub(crate) async fn handle_request( request: Request, request_info: HttpConnectionProperties, server_state: SignallingRc<HttpServerState>, // Keep server alive for duration of this future. |