-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Overflow with use of Self
in inherent impl on trait
#25050
Labels
C-bug
Category: This is a bug.
F-associated_type_defaults
`#![feature(associated_type_defaults)]`
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
No, I think it is dupe. |
I was think it same as #23305 |
Self
in inherent impl on trait
Closed
Still an issue. |
Still an issue, updated playpen |
Self
in inherent impl on traitSelf
in inherent impl on trait
Triage: still reproduces today |
Triage: no change up-to-date repro: #![feature(associated_type_defaults)]
pub trait NBTTypeHelper where Self: NBTType {
type Tagtype = Self;
}
pub trait NBTType {
}
impl NBTTypeHelper for dyn NBTType {
type Tagtype = <Self as NBTTypeHelper>::Tagtype;
}
fn main() {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
C-bug
Category: This is a bug.
F-associated_type_defaults
`#![feature(associated_type_defaults)]`
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code: http://is.gd/zUrIKd
The text was updated successfully, but these errors were encountered: