Closed Bug 1496622 Opened 6 years ago Closed 6 years ago

convert Rust nsresult type alias to newtype with #[repr(transparent)]

Categories

(Core :: XPCOM, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: myk, Assigned: myk)

References

Details

Attachments

(1 file)

Per Nika over in https://phabricator.services.mozilla.com/D6328, now that #[repr(transparent)] is stable, we should convert nserror::nsresult from a type alias to a #[repr(transparent)] newtype.
Summary: convert nsresult type alias to newtype with #[repr(transparent)] → convert Rust nsresult type alias to newtype with #[repr(transparent)]
Status: NEW → ASSIGNED
QA Contact: nfroyd
QA Contact: nfroyd
Pushed by myk@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1961aeb46e98
convert Rust nsresult type alias to newtype w/#[repr(transparent)] r=froydnj
https://hg.mozilla.org/mozilla-central/rev/1961aeb46e98
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Blocks: 1503031
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: