]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #13333 : Ryman/rust/improve_incompatible_type_error, r=alexcrichton
authorbors <bors@rust-lang.org>
Sat, 5 Apr 2014 15:41:32 +0000 (08:41 -0700)
committerbors <bors@rust-lang.org>
Sat, 5 Apr 2014 15:41:32 +0000 (08:41 -0700)
This can be a frustrating error message, ideally we should print the signature mismatch, but hinting that it's a trait incompatibility helps tracking root cause. Also beefed up the testcases for this.

Ideally we would print the signature mismatch in the error helper?


Trivial merge