-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Compilation error E0207 for impl
for another const generic trait
#100405
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
Comments
impl
for another const generic traitimpl
for another const generic trait
Seems to be similar to #100405 |
@tats-u did you mean to link another issue? |
@compiler-errors I just thought this is similar to that issue. |
@compiler-errors Sorry, I thought I copied and pasted another issue... |
This doesn't appear to be unique to const generics: trait Foo<T> {}
impl<T, U: Foo<T>> Drop for U {
fn drop(&mut self) {
println!("hello");
}
} leads to:
Using |
I've also got this problem, has any progress been made with this? |
Given the following code:
The current output is:
Ideally the output should look like:
I believe
ID
is constrained forFiexedIDZIPExtraField<ID>
and this error must not be raised. Could someone provide a solution?The text was updated successfully, but these errors were encountered: