]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #12715 : dmski/rust/no-extern-fn-pat, r=alexcrichton
authorbors <bors@rust-lang.org>
Wed, 5 Mar 2014 20:51:48 +0000 (12:51 -0800)
committerbors <bors@rust-lang.org>
Wed, 5 Mar 2014 20:51:48 +0000 (12:51 -0800)
Fixes #10877

There was another PR which attempted to fix this in the parser (#11804) and which was closed due to inactivity.
This PR modifies typeck instead (as suggested in #11804), which indeed seems to be simpler than modifying the parser and allows for a better error message.


Trivial merge