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

Only permit structural_match types as const generic types #60286

Closed
varkor opened this issue Apr 25, 2019 · 0 comments · Fixed by #65627
Closed

Only permit structural_match types as const generic types #60286

varkor opened this issue Apr 25, 2019 · 0 comments · Fixed by #65627
Assignees
Labels
A-const-generics Area: const generics (parameters and arguments) F-const_generics `#![feature(const_generics)]` requires-nightly This issue requires a nightly compiler in some way. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@varkor
Copy link
Member

varkor commented Apr 25, 2019

This should also allow us to clean up the implementation of #60284.

@varkor varkor added the A-const-generics Area: const generics (parameters and arguments) label Apr 25, 2019
@varkor varkor self-assigned this Apr 25, 2019
@varkor varkor removed their assignment Jun 10, 2019
@Centril Centril added F-const_generics `#![feature(const_generics)]` T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. requires-nightly This issue requires a nightly compiler in some way. labels Aug 6, 2019
@varkor varkor self-assigned this Oct 20, 2019
Centril added a commit to Centril/rust that referenced this issue Oct 24, 2019
…ructural_match, r=petrochenkov

Forbid non-`structural_match` types in const generics

Fixes rust-lang#60286.
@bors bors closed this as completed in 9c04bd1 Oct 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-const-generics Area: const generics (parameters and arguments) F-const_generics `#![feature(const_generics)]` requires-nightly This issue requires a nightly compiler in some way. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants