Closed
Bug 1736484
Opened 4 years ago
Closed 4 years ago
[rust 1.57] error: field is never read: `index`
Categories
(Core :: Graphics: WebRender, defect)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
95 Branch
| Tracking | Status | |
|---|---|---|
| firefox95 | --- | fixed |
People
(Reporter: glandium, Assigned: glandium)
Details
Attachments
(1 file)
3:30.27 --> gfx/wr/webrender/src/profiler.rs:1433:5
3:30.27 |
3:30.27 1433 | index: usize,
3:30.27 | ^^^^^^^^^^^^
3:30.27 |
3:30.27 = note: `-D dead-code` implied by `-D warnings`
3:30.27 error: field is never read: `swizzle`
3:30.27 --> gfx/wr/webrender/src/device/gl.rs:389:5
3:30.27 |
3:30.27 389 | swizzle: Swizzle,
3:30.27 | ^^^^^^^^^^^^^^^^
3:30.27 error: field is never read: `description`
3:30.27 --> gfx/wr/webrender/src/internal_types.rs:690:5
3:30.27 |
3:30.27 690 | description: String,
3:30.27 | ^^^^^^^^^^^^^^^^^^^
3:30.62 error: could not compile `webrender` due to 3 previous errors
And past those:
0:09.16 error: unused return value of `CString::from_raw` that must be used
0:09.16 --> gfx/webrender_bindings/src/bindings.rs:1709:9
0:09.16 |
0:09.16 1709 | CString::from_raw(msg);
0:09.16 | ^^^^^^^^^^^^^^^^^^^^^^^
0:09.16 |
0:09.16 note: the lint level is defined here
0:09.16 --> gfx/webrender_bindings/src/lib.rs:5:9
0:09.16 |
0:09.16 5 | #![deny(warnings)]
0:09.16 | ^^^^^^^^
0:09.16 = note: `#[deny(unused_must_use)]` implied by `#[deny(warnings)]`
0:09.16 = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
| Assignee | ||
Comment 1•4 years ago
|
||
Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/autoland/rev/b8815353a549
Fix new dead-code warnings with rust 1.57. r=gfx-reviewers,nical
Comment 3•4 years ago
|
||
Backed out for causing wrench failures.
Backout link: https://hg.mozilla.org/integration/autoland/rev/3e809c865ca0dbb165f0285a9490793cfdb4763b
Failure log: https://treeherder.mozilla.org/logviewer?job_id=355408634&repo=autoland&lineNumber=13608
Flags: needinfo?(mh+mozilla)
Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/autoland/rev/50c191c8b3eb
Fix new dead-code warnings with rust 1.57. r=gfx-reviewers,nical
Comment 5•4 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 4 years ago
status-firefox95:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
| Assignee | ||
Updated•4 years ago
|
Flags: needinfo?(mh+mozilla)
You need to log in
before you can comment on or make changes to this bug.
Description
•