Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upICE : ty_is_local invoked on unexpected type: [type error] #29857
Comments
This comment has been minimized.
This comment has been minimized.
|
Specifically, this impl seems to cause the ICE. |
apasel422
added
the
I-ICE
label
Nov 16, 2015
This comment has been minimized.
This comment has been minimized.
|
Reduced (play): use std::marker::PhantomData;
pub trait Foo<P> {}
impl <P, T: Foo<P>> Foo<P> for Option<T> {}
pub struct Qux<T> (PhantomData<*mut T>);
impl<T> Foo<*mut T> for Option<Qux<T>> {}
pub trait Bar {
type Output: 'static;
}
impl<T: 'static, W: Bar<Output = T>> Foo<*mut T> for W {}
fn main() {} |
This comment has been minimized.
This comment has been minimized.
|
I bisected this and the ICE first occurs with commit 9c6d35d Backtrace
|
arielb1
added
regression-from-stable-to-nightly
P-high
T-compiler
I-nominated
and removed
P-high
labels
Nov 20, 2015
arielb1
self-assigned this
Nov 20, 2015
arielb1
referenced this issue
Nov 22, 2015
Closed
select: treat ErrorCandidate as a real error #29954
jonas-schievink
referenced this issue
Nov 24, 2015
Closed
error: internal compiler error: ty_is_local invoked on unexpected type: [type error] #30042
This comment has been minimized.
This comment has been minimized.
|
triage: P-medium |
brson
added
regression-from-stable-to-beta
and removed
regression-from-stable-to-nightly
labels
Dec 9, 2015
This comment has been minimized.
This comment has been minimized.
|
triage: P-high |
rust-highfive
added
P-high
and removed
I-nominated
labels
Dec 17, 2015
nikomatsakis
added a commit
to nikomatsakis/rust
that referenced
this issue
Jan 2, 2016
nikomatsakis
referenced this issue
Jan 2, 2016
Merged
Make coherence more tolerant of error types. #30676
nikomatsakis
added a commit
to nikomatsakis/rust
that referenced
this issue
Jan 9, 2016
nikomatsakis
added a commit
to nikomatsakis/rust
that referenced
this issue
Jan 9, 2016
bors
added a commit
that referenced
this issue
Jan 11, 2016
bors
added a commit
that referenced
this issue
Jan 11, 2016
bors
closed this
in
#30676
Jan 11, 2016
This comment has been minimized.
This comment has been minimized.
|
Merged fix into beta. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
vberger commentedNov 16, 2015
Running the rustc command with
RUST_BACKTRACE=1results in: