-
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
ICE: When implementing trait with a generic parameter and an associated output type #19129
Labels
A-associated-items
Area: Associated items (types, constants & functions)
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Comments
On version b825b34 I get this ICE just with (edited with a smaller example): #![feature(associated_types)]
#![crate_type="lib"]
pub trait Foo<A> {
type B;
fn foo(&self) -> bool { false }
}
|
This was referenced Nov 20, 2014
huonw
added
A-associated-items
Area: Associated items (types, constants & functions)
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
labels
Nov 25, 2014
ghost
mentioned this issue
Dec 11, 2014
japaric
pushed a commit
to japaric/rust
that referenced
this issue
Dec 15, 2014
Merged
bors
added a commit
that referenced
this issue
Dec 16, 2014
Add test for #19129 Reviewed-by: alexcrichton
bors
referenced
this issue
Dec 16, 2014
Using a type alias for iterator implementations is fragile since this exposes the implementation to users of the iterator, and any changes could break existing code. This commit changes the iterators of `VecMap` to use proper new types, rather than type aliases. However, since it is fair-game to treat a type-alias as the aliased type, this is a: [breaking-change].
bors
added a commit
that referenced
this issue
Dec 16, 2014
Add test for #19129 Reviewed-by: alexcrichton
brson
added a commit
that referenced
this issue
Dec 16, 2014
bors
added a commit
that referenced
this issue
Dec 17, 2014
Add test for #19129 Reviewed-by: alexcrichton
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Dec 17, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-associated-items
Area: Associated items (types, constants & functions)
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
STR
Output
Version
#19113 + #18868 on top of bfaa7bc
cc @nikomatsakis
The text was updated successfully, but these errors were encountered: