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

Const generics #17

Open
Tracked by #6
oscartbeaumont opened this issue Jan 10, 2023 · 1 comment
Open
Tracked by #6

Const generics #17

oscartbeaumont opened this issue Jan 10, 2023 · 1 comment
Labels
breaking change This will probs end up in the next major version.

Comments

@oscartbeaumont
Copy link
Member

oscartbeaumont commented Jan 10, 2023

Eg.

struct Demo<const U: usize> {

}

fn demo<const I: usize>() {

}
@oscartbeaumont oscartbeaumont mentioned this issue Jan 10, 2023
3 tasks
@oscartbeaumont oscartbeaumont added the breaking change This will probs end up in the next major version. label Aug 19, 2023
@oscartbeaumont
Copy link
Member Author

oscartbeaumont commented Aug 21, 2023

Technically serde is incompatible with them but it would be nice to implement them into the datatype layer & macros so actually enabling them doesn't need to be a future breaking change.

They should probably error at some phase in the export though for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change This will probs end up in the next major version.
Projects
None yet
Development

No branches or pull requests

1 participant