mirror of
https://github.com/servo/servo.git
synced 2025-08-12 00:45:33 +01:00
Upgrade Rust to 1.82.0 (#34592)
* Fix deprecated PanicInfo alias Fixes: ```rust use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead ``` Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com> * build: upgrade rustc to 1.82.0 Tracking issue for the silenced lints: https://github.com/servo/servo/issues/34591 Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com> --------- Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
This commit is contained in:
parent
c0703b605d
commit
6a816649d6
10 changed files with 23 additions and 5 deletions
|
@ -1177,6 +1177,8 @@ where
|
|||
)]
|
||||
fn handle_request(&mut self) {
|
||||
#[derive(Debug)]
|
||||
// FIXME: https://github.com/servo/servo/issues/34591
|
||||
#[expect(clippy::large_enum_variant)]
|
||||
enum Request {
|
||||
PipelineNamespace(PipelineNamespaceRequest),
|
||||
Script((PipelineId, FromScriptMsg)),
|
||||
|
|
|
@ -132,6 +132,8 @@ pub struct SessionHistoryChange {
|
|||
}
|
||||
|
||||
/// Represents a pipeline or discarded pipeline in a history entry.
|
||||
// FIXME: https://github.com/servo/servo/issues/34591
|
||||
#[expect(clippy::large_enum_variant)]
|
||||
#[derive(Clone, Debug)]
|
||||
pub enum NeedsToReload {
|
||||
/// Represents a pipeline that has not been discarded
|
||||
|
@ -176,6 +178,8 @@ impl PartialEq for NeedsToReload {
|
|||
}
|
||||
|
||||
/// Represents a the difference between two adjacent session history entries.
|
||||
// FIXME: https://github.com/servo/servo/issues/34591
|
||||
#[expect(clippy::large_enum_variant)]
|
||||
#[derive(Debug)]
|
||||
pub enum SessionHistoryDiff {
|
||||
/// Represents a diff where the active pipeline of an entry changed.
|
||||
|
|
|
@ -52,6 +52,8 @@ pub enum DevtoolsControlMsg {
|
|||
}
|
||||
|
||||
/// Events that the devtools server must act upon.
|
||||
// FIXME: https://github.com/servo/servo/issues/34591
|
||||
#[expect(clippy::large_enum_variant)]
|
||||
#[derive(Debug)]
|
||||
pub enum ChromeToDevtoolsControlMsg {
|
||||
/// A new client has connected to the server.
|
||||
|
|
|
@ -183,6 +183,8 @@ impl From<ReferrerPolicy> for ReferrerPolicyHeader {
|
|||
}
|
||||
}
|
||||
|
||||
// FIXME: https://github.com/servo/servo/issues/34591
|
||||
#[expect(clippy::large_enum_variant)]
|
||||
#[derive(Debug, Deserialize, Serialize)]
|
||||
pub enum FetchResponseMsg {
|
||||
// todo: should have fields for transmitted/total bytes
|
||||
|
@ -239,6 +241,8 @@ pub enum FilteredMetadata {
|
|||
OpaqueRedirect(ServoUrl),
|
||||
}
|
||||
|
||||
// FIXME: https://github.com/servo/servo/issues/34591
|
||||
#[expect(clippy::large_enum_variant)]
|
||||
#[derive(Clone, Debug, Deserialize, Serialize)]
|
||||
pub enum FetchMetadata {
|
||||
Unfiltered(Metadata),
|
||||
|
@ -502,6 +506,8 @@ pub enum CoreResourceMsg {
|
|||
Exit(IpcSender<()>),
|
||||
}
|
||||
|
||||
// FIXME: https://github.com/servo/servo/issues/34591
|
||||
#[expect(clippy::large_enum_variant)]
|
||||
enum ToFetchThreadMessage {
|
||||
StartFetch(
|
||||
/* request_builder */ RequestBuilder,
|
||||
|
|
|
@ -271,6 +271,8 @@ pub enum UpdatePipelineIdReason {
|
|||
}
|
||||
|
||||
/// Messages sent from the constellation or layout to the script thread.
|
||||
// FIXME: https://github.com/servo/servo/issues/34591
|
||||
#[expect(clippy::large_enum_variant)]
|
||||
#[derive(Deserialize, Serialize)]
|
||||
pub enum ConstellationControlMsg {
|
||||
/// Takes the associated window proxy out of "delaying-load-events-mode",
|
||||
|
|
|
@ -42,6 +42,8 @@ pub struct ContextConfiguration {
|
|||
pub is_opaque: bool,
|
||||
}
|
||||
|
||||
// FIXME: https://github.com/servo/servo/issues/34591
|
||||
#[expect(clippy::large_enum_variant)]
|
||||
#[derive(Debug, Deserialize, Serialize)]
|
||||
pub enum WebGPURequest {
|
||||
BufferMapAsync {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue