Closed
Bug 1889231
Opened 1 year ago
Closed 1 year ago
[rustc 1.78] error: the item `moz_task` is imported redundantly
Categories
(WebExtensions :: Storage, defect)
WebExtensions
Storage
Tracking
(firefox126 fixed)
RESOLVED
FIXED
126 Branch
| Tracking | Status | |
|---|---|---|
| firefox126 | --- | fixed |
People
(Reporter: glandium, Assigned: glandium)
References
Details
Attachments
(1 file)
When building with rustc 1.78 beta 4, the following error is shown:
[task 2024-04-02T03:55:39.777Z] 03:55:39 ERROR - error: the item `moz_task` is imported redundantly
[task 2024-04-02T03:55:39.777Z] 03:55:39 INFO - --> toolkit/components/extensions/storage/webext_storage_bridge/src/area.rs:16:16
[task 2024-04-02T03:55:39.777Z] 03:55:39 INFO - |
[task 2024-04-02T03:55:39.777Z] 03:55:39 INFO - 16 | use moz_task::{self, DispatchOptions, TaskRunnable};
[task 2024-04-02T03:55:39.778Z] 03:55:39 INFO - | ^^^^ the item `moz_task` is already defined by prelude
[task 2024-04-02T03:55:39.778Z] 03:55:39 INFO - |
[task 2024-04-02T03:55:39.778Z] 03:55:39 INFO - = note: `-D unused-imports` implied by `-D warnings`
[task 2024-04-02T03:55:39.778Z] 03:55:39 INFO - = help: to override `-D warnings` add `#[allow(unused_imports)]`
[task 2024-04-02T03:55:39.778Z] 03:55:39 ERROR - error: could not compile `webext_storage_bridge` (lib) due to 1 previous error
| Assignee | ||
Comment 1•1 year ago
|
||
Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/autoland/rev/6afe3152d567
Remove redundant import from webext_storage_bridge. r=markh
Status: NEW → RESOLVED
Closed: 1 year ago
status-firefox126:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•