rust
rust copied to clipboard
Deconstructing pointer to tuple in arguments causes ICE
This function crashes the compiler:
fn foo(~(x, y): ~(int, int)) {}
Output:
error: internal compiler error: node_id_to_type: no type for node `unknown node (id=3)`
Using & or @ pointers does the same thing.
This now works. Needs a test.