Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow nested C-like enums with user control over layout #347

Open
huonw opened this issue Oct 2, 2014 · 1 comment
Open

Allow nested C-like enums with user control over layout #347

huonw opened this issue Oct 2, 2014 · 1 comment
Labels
A-bitdata Proposals relating to bitdata / bitflags. A-enum Enum related proposals & ideas A-ffi FFI related proposals. A-machine Proposals relating to Rust's abstract machine. A-repr #[repr(...)] related proposals & ideas postponed RFCs that have been postponed and may be revisited at a later time. T-lang Relevant to the language team, which will review and decide on the RFC.

Comments

@huonw
Copy link
Member

huonw commented Oct 2, 2014

See #331 for an RFC discussing this.

This sort of precise layout control should be considered with related proposals like #327/#346.

@huonw huonw added the postponed RFCs that have been postponed and may be revisited at a later time. label Oct 2, 2014
withoutboats pushed a commit to withoutboats/rfcs that referenced this issue Jan 15, 2017
Export SharedItem and SharedError
@petrochenkov petrochenkov added the T-lang Relevant to the language team, which will review and decide on the RFC. label Jan 19, 2018
@Centril Centril added A-enum Enum related proposals & ideas A-repr #[repr(...)] related proposals & ideas A-ffi FFI related proposals. A-machine Proposals relating to Rust's abstract machine. A-bitdata Proposals relating to bitdata / bitflags. labels Nov 26, 2018
@cdecompilador
Copy link

Maybe the time to implement this has come after 6 years 😂😂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-bitdata Proposals relating to bitdata / bitflags. A-enum Enum related proposals & ideas A-ffi FFI related proposals. A-machine Proposals relating to Rust's abstract machine. A-repr #[repr(...)] related proposals & ideas postponed RFCs that have been postponed and may be revisited at a later time. T-lang Relevant to the language team, which will review and decide on the RFC.
Projects
None yet
Development

No branches or pull requests

4 participants