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

RESOLVED FIXED in Firefox 64

Status

()

enhancement
RESOLVED FIXED
8 months ago
7 months ago

People

(Reporter: myk, Assigned: myk)

Tracking

unspecified
mozilla64
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox64 fixed)

Details

Attachments

(1 attachment)

Assignee

Description

8 months ago
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.
Assignee

Updated

8 months ago
Summary: convert nsresult type alias to newtype with #[repr(transparent)] → convert Rust nsresult type alias to newtype with #[repr(transparent)]
Assignee

Updated

8 months ago
Status: NEW → ASSIGNED
QA Contact: nfroyd
QA Contact: nfroyd

Comment 2

8 months ago
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

Comment 3

8 months ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/1961aeb46e98
Status: ASSIGNED → RESOLVED
Last Resolved: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Assignee

Updated

7 months ago
Blocks: 1503031
You need to log in before you can comment on or make changes to this bug.