Closed
Bug 1513350
Opened 7 years ago
Closed 7 years ago
make nsresult a real type with a real Display implementation
Categories
(Core :: XPCOM, enhancement)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla68
| Tracking | Status | |
|---|---|---|
| firefox68 | --- | fixed |
People
(Reporter: myk, Assigned: nika)
Details
Attachments
(1 file)
Per Nika in https://phabricator.services.mozilla.com/D6328, with recent(ish) changes to rust, it should be possible to make nsresult a real type with a real Display implementation. And that would enable us to avoid workarounds like storing an nsCString describing an nsresult in a Rust enum of error types (which I'm doing in bug 1490496).
So we should make nsresult a real type and give it a real Display implementation.
| Assignee | ||
Comment 1•7 years ago
|
||
Pushed by nlayzell@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/40425ded3bad
Add a Display impl to nsresult, r=froydnj
Comment 3•7 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox68:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
Updated•7 years ago
|
Assignee: nobody → nika
You need to log in
before you can comment on or make changes to this bug.
Description
•