Closed
Description
I was overly optimistic regarding rustc's current DWIM semantics, and rustc didn't even know how to exhaustively describe my stupidity.
foo.rs:1:22: 1:28 error: the type of this value must be known in this context
foo.rs:1 fn main() { |ref x| { x += 1; }; }
^~~~~~
error: internal compiler error: no type for node 9: expr 1 (id=9) in fcx 7f86d428df40