]> git.lizzy.rs Git - rust.git/commit
Diagnostic: resolve bare fn in expected closure
authorgamazeps <gamaz3ps@gmail.com>
Tue, 28 Oct 2014 23:59:36 +0000 (00:59 +0100)
committergamazeps <gamaz3ps@gmail.com>
Wed, 29 Oct 2014 00:07:40 +0000 (01:07 +0100)
commitcb5f9799421c7ae9289295acdf15546a1e68da91
tree2bcf65d7b7224fc37a5adfba523998061d59cc9b
parent3fa2b565378d292e49f17b20cb31b9bbd108b38b
Diagnostic: resolve bare fn in expected closure

Closes #15273 (I did not find how to get the identifier in the message
:/)

Also creates the span_help! macro associated with #18126
src/librustc/middle/typeck/check/writeback.rs
src/libsyntax/diagnostics/macros.rs
src/test/compile-fail/coerce-bare-fn-to-closure-and-proc.rs