Failed to impl Drop for struct with const generics constrait. #87303
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Given the following code:
https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=81a20c98257fda83bb4fbc6d2a35e9b7
The current output is:
E0367
Ideally the output should look like:
compile pass.
where [(); M * 2]:
is a necessary constait for A, this is not a subset specialization.The text was updated successfully, but these errors were encountered: