about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-03-16 17:01:54 -0700
committerbors <bors@rust-lang.org>2014-03-16 17:01:54 -0700
commit4e1172ebbd44b826b795c05dcecdd8c5557ecff6 (patch)
treee42e67facbe288da0388562c5370be0b92978b69 /src/rustllvm/ExecutionEngineWrapper.cpp
parent9e89ffc60e4a72dd0e6e9b1930111235b18e595e (diff)
parent8b6592ef1a29360716e49545cff42d7103366b02 (diff)
downloadrust-4e1172ebbd44b826b795c05dcecdd8c5557ecff6.tar.gz
rust-4e1172ebbd44b826b795c05dcecdd8c5557ecff6.zip
auto merge of #12937 : sinistersnare/rust/method-error-message, r=huonw
its a common (yet easily fixable) error to just forget parens at the end of getter-like methods without any arguments.

The current error message for that case asks for an anonymous function, this patch adds a note asking for either an anonymous function, or for trailing parens.

This is my first contribution! do i need to do anything else?
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions