workaround rustdoc bug for Error
//! Error and Result module
-pub use actix_http::error::*;
+/// This is meant to be a glob import of the whole error module, but rustdoc can't handle
+/// shadowing `Error` type, so it is expanded manually.
+/// See https://github.com/rust-lang/rust/issues/83375
+pub use actix_http::error::{
+ BlockingError, ContentTypeError, DispatchError, HttpError, ParseError, PayloadError,
+};
+
use derive_more::{Display, Error, From};
use serde_json::error::Error as JsonError;
use serde_urlencoded::de::Error as FormDeError;
