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
structFoo<'a,T:'a>{ph: std::marker::PhantomData<T>,foo:&'aFoo<'a,(T,T)>,}fnwub(f:Foo<!>){match f {}}
Causes rustc to stack overflow. This should be pretty easy to "fix" by just putting a recursion limit in is_uninhabited_from and returning false when it gets hit. What's a suitable limit here? Presumably there are other limits like this in other places in the compiler.
The text was updated successfully, but these errors were encountered:
canndrew
added a commit
to canndrew/rust
that referenced
this issue
Feb 9, 2017
This code:
Causes rustc to stack overflow. This should be pretty easy to "fix" by just putting a recursion limit in
is_uninhabited_from
and returning false when it gets hit. What's a suitable limit here? Presumably there are other limits like this in other places in the compiler.The text was updated successfully, but these errors were encountered: