Closed Bug 1632727 Opened 4 years ago Closed 4 years ago

(rust 1.43) error: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()

Categories

(Firefox Build System :: Toolchains, defect)

defect

Tracking

(firefox77 fixed)

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(1 file)

[task 2020-04-24T02:05:56.596Z] 02:05:56     INFO -  error: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
[task 2020-04-24T02:05:56.596Z] 02:05:56     INFO -     --> testing/mozbase/rust/mozprofile/src/lib.rs:169:34
[task 2020-04-24T02:05:56.596Z] 02:05:56     INFO -      |
[task 2020-04-24T02:05:56.596Z] 02:05:56     INFO -  169 |                 println!("{}", e.description());
[task 2020-04-24T02:05:56.596Z] 02:05:56     INFO -      |                                  ^^^^^^^^^^^
[task 2020-04-24T02:05:56.596Z] 02:05:56     INFO -      |
[task 2020-04-24T02:05:56.596Z] 02:05:56     INFO -      = note: `-D deprecated` implied by `-D warnings`

This is leftover from bug 1622256.

Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/autoland/rev/ec6db252ca8e
Remove use of deprecated Error::description. r=webdriver-reviewers,whimboo
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: