Closed Bug 1889237 Opened 1 year ago Closed 1 year ago

[rustc 1.78] error: the item `moz_task` is imported redundantly

Categories

(Core :: Internationalization: Localization, defect)

defect

Tracking

()

RESOLVED FIXED
126 Branch
Tracking Status
firefox126 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(1 file)

Building with rustc 1.78 beta 4, the following error is shown:

[task 2024-04-02T06:03:47.377Z] 06:03:47    ERROR -  error: the item `moz_task` is imported redundantly
[task 2024-04-02T06:03:47.377Z] 06:03:47     INFO -   --> intl/l10n/rust/gtest/test.rs:6:5
[task 2024-04-02T06:03:47.377Z] 06:03:47     INFO -    |
[task 2024-04-02T06:03:47.377Z] 06:03:47     INFO -  6 | use moz_task;
[task 2024-04-02T06:03:47.377Z] 06:03:47     INFO -    |     ^^^^^^^^ the item `moz_task` is already defined by prelude
[task 2024-04-02T06:03:47.377Z] 06:03:47     INFO -    |
[task 2024-04-02T06:03:47.377Z] 06:03:47     INFO -    = note: `-D unused-imports` implied by `-D warnings`
[task 2024-04-02T06:03:47.378Z] 06:03:47     INFO -    = help: to override `-D warnings` add `#[allow(unused_imports)]`
[task 2024-04-02T06:03:47.378Z] 06:03:47    ERROR -  error: could not compile `l10nregistry-ffi-gtest` (lib) due to 1 previous error
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/9a1247afd96c Remove redundant import from l10nregistry-ffi-gtest. r=eemeli
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: