Closed Bug 1900952 Opened 5 months ago Closed 5 months ago

[rustc 1.79] Perma error: field `rtl` is never read

Categories

(Toolkit :: Crash Reporting, defect, P5)

defect

Tracking

()

RESOLVED FIXED
128 Branch
Tracking Status
firefox128 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: glandium)

References

Details

Attachments

(1 file)

Filed by: mh [at] glandium.org
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=461243744&repo=toolchains
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/SHZjjPzERu-Kl-u8LETF-g/runs/0/artifacts/public/logs/live_backing.log


[task 2024-06-06T02:02:58.883Z] 02:02:58    ERROR -  error: field `rtl` is never read
[task 2024-06-06T02:02:58.883Z] 02:02:58     INFO -     --> toolkit/crashreporter/client/app/src/ui/model/mod.rs:340:9
[task 2024-06-06T02:02:58.883Z] 02:02:58     INFO -      |
[task 2024-06-06T02:02:58.884Z] 02:02:58     INFO -  337 | pub struct Application {
[task 2024-06-06T02:02:58.884Z] 02:02:58     INFO -      |            ----------- field in this struct
[task 2024-06-06T02:02:58.884Z] 02:02:58     INFO -  ...
[task 2024-06-06T02:02:58.885Z] 02:02:58     INFO -  340 |     pub rtl: bool,
[task 2024-06-06T02:02:58.885Z] 02:02:58     INFO -      |         ^^^
[task 2024-06-06T02:02:58.885Z] 02:02:58     INFO -      |
[task 2024-06-06T02:02:58.885Z] 02:02:58     INFO -      = note: `-D dead-code` implied by `-D warnings`
[task 2024-06-06T02:02:58.886Z] 02:02:58     INFO -      = help: to override `-D warnings` add `#[allow(dead_code)]`
[task 2024-06-06T02:02:58.934Z] 02:02:58    ERROR -  error: could not compile `crashreporter` (bin "crashreporter" test) due to 1 previous error
Blocks: rustc-1.80
Blocks: rustc-1.79
No longer blocks: rustc-1.80
Summary: [rustc 1.80] Perma error: field `rtl` is never read → [rustc 1.79] Perma error: field `rtl` is never read

Its only uses are in modules that aren't included during tests.

Assignee: nobody → mh+mozilla
Status: NEW → ASSIGNED
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/2508c446dffd Mark the rtl field as dead code during tests. r=gsvelto
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: