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:
Jonathan Schwender 2024-12-12 13:00:51 +01:00 committed by GitHub
parent c0703b605d
commit 6a816649d6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 23 additions and 5 deletions

View file

@ -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,