-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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. |
ghost
closed this as completed
May 2, 2015
ghost
reopened this
Jun 25, 2015
I was think it same as #23305 |
steveklabnik
changed the title
Another rustc stack overflow bug;
Stack overflow with use of Sep 3, 2015
Self
in inherent impl on trait
steveklabnik
added
the
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
label
Sep 3, 2015
Closed
Still an issue. |
Still an issue, updated playpen |
Mark-Simulacrum
removed
the
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
label
Jun 13, 2017
Mark-Simulacrum
changed the title
Stack overflow with use of
Overflow with use of Jun 13, 2017
Self
in inherent impl on traitSelf
in inherent impl on trait
Mark-Simulacrum
added
the
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
label
Jun 23, 2017
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() {} |
Enselic
added
the
F-associated_type_defaults
`#![feature(associated_type_defaults)]`
label
May 6, 2024
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: