You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#![crate_type="lib"]pubtraitFoo<'a,T>{fnfoo(&self);}pubfnfoo<'a,T>(x:&'aFoo<'a,T>){let x:&'aFoo<T> = x;// ^ the lifetime parameter of Foo is left to be infered.
x.foo();// ^ encoding this method call in metadata triggers an ICE. }
This is caused by writeback leaving around ReInfer in the MethodCallee associated with a method call (because MethodOrigin is not type-folded at all).
cc @nikomatsakis
The text was updated successfully, but these errors were encountered:
eddyb
added a commit
to eddyb/rust
that referenced
this issue
Sep 30, 2014
This is caused by writeback leaving around
ReInfer
in theMethodCallee
associated with a method call (becauseMethodOrigin
is not type-folded at all).cc @nikomatsakis
The text was updated successfully, but these errors were encountered: