Closed
Description
rusti> fn foopy() {}
()
rusti> const f: fn() = foopy;
()
rusti> f()
<anon>:39:0: 39:1 error: internal compiler error: Cannot translate def def_const({crate: 0, node: 26}) to a callable thing!
<anon>:39 f()
^
rust: task failed at 'explicit failure', /run/media/jdm/ssd/rust/src/libsyntax/diagnostic.rs:62