-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Closed
Labels
A-associated-itemsArea: Associated items (types, constants & functions)Area: Associated items (types, constants & functions)I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Description
I'm on Fedora 21, x86_64.
pub struct A<I: Iterator> {
iter: I,
buf: Vec<I::Item>,
}
impl<I: Iterator> Iterator for A<I> where
I: Iterator<Item=I::Item>
{
fn next(&mut self) -> Option<I::Item> {
None
}
}
fn main() {}
Output:
$ rustc test.rs
thread 'rustc' has overflowed its stack
Ungültiger Maschinenbefehl (Speicherabzug geschrieben)
(Sorry for the german 😆 )
You can also watch it fail with the playpen!
Metadata
Metadata
Assignees
Labels
A-associated-itemsArea: Associated items (types, constants & functions)Area: Associated items (types, constants & functions)I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️