Skip to content

Address issues uncovered by rust-1.78 beta - #32130

Merged
jdm merged 1 commit into
servo:mainfrom
mrobinson:rust-1.78
Apr 22, 2024
Merged

jdm merged 1 commit into
servo:mainfrom
mrobinson:rust-1.78

Conversation

@mrobinson

Copy link
Copy Markdown
Member

This change makes changes to allow Servo to compile with the 1.78
version of Rust:

  • Dead code is removd (Rust seems to have gotten better at detecting
    it).
  • The FlowRef DerefMut is updated according to @SimonSapin's advice
    1.
  • The imports.rs now explicitly silences warnings about unused
    imports.

  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes do not require tests because they should not change behavior.

Footnotes

  1. https://github.com/servo/servo/issues/6503#issuecomment-2066088179 ↩

This change makes changes to allow Servo to compile with the 1.78
version of Rust:

 - Dead code is removd (Rust seems to have gotten better at detecting
   it).
 - The `FlowRef` `DerefMut` is updated according to @SimonSapin's advice
   [^1].
 - The `imports.rs` now explicitly silences warnings about unused
   imports.

[^1]: servo#6503 (comment)
@jdm
jdm added this pull request to the merge queue Apr 22, 2024
Merged via the queue into servo:main with commit a0640c8 Apr 22, 2024
@mrobinson
mrobinson deleted the rust-1.78 branch May 23, 2024 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants