Closed Bug 1841923 Opened 2 years ago Closed 2 years ago

error: variable does not need to be mutable

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

RESOLVED FIXED
117 Branch
Tracking Status
firefox117 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(1 file)

Building with upcoming rustc 1.71 fails with (with warnings as errors):

 0:05.12 error: variable does not need to be mutable
 0:05.12     --> servo/ports/geckolib/glue.rs:5858:9
 0:05.12      |
 0:05.12 5858 |     let mut data = &mut *data;
 0:05.12      |         ----^^^^
 0:05.12      |         |
 0:05.12      |         help: remove this `mut`
 0:05.12      |
 0:05.12      = note: `-D unused-mut` implied by `-D warnings`
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/a16ca745c7bf Fix "variable does not need to be mutable" warning in geckoservo. r=emilio
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: