Closed
Description
rusti> fn foo(a: uint) {}
()
rusti> foo(5, 6)
<anon>:37:0: 38:1 error: this function takes 1 parameter but 2 parameters were supplied
<anon>:37 foo(5, 6)
<anon>:38 })
rust: task failed at 'index out of bounds: the len is 1 but the index is 1', /run/media/jdm/ssd/rust/src/librustc/middle/typeck/check/mod.rs:1250