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.
&fn
This types:
fn f() { } struct S(&fn()); pub static C: S = S(f);
This doesn't:
fn f() { } type T = &fn(); pub static C: T = f;
This seems wrong.