We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
The following program triggers a stack overflow in rustc:
struct S<T> { t : T, s : Box<S<fn(u : T)>> } fn f(x : S<u32>) { } fn main () { }
My version of rustc:
$ rustc --version rustc 1.15.0-nightly (71c06a56a 2016-12-18)
The problem also appears when replacing fn(u : T) with fn() -> T.
fn(u : T)
fn() -> T