about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2016-05-01 22:21:11 +0200
committerGeorg Brandl <georg@python.org>2016-05-01 22:24:39 +0200
commitffba7b7254f9b828cf173ed066ba2d69b8831cd8 (patch)
treee6bc9a4f638efd3eae464d36277657b6ede03d1b /src/rustllvm/RustWrapper.cpp
parent2a815a26c8ce70e1aede585827c020d9775a8faf (diff)
downloadrust-ffba7b7254f9b828cf173ed066ba2d69b8831cd8.tar.gz
rust-ffba7b7254f9b828cf173ed066ba2d69b8831cd8.zip
typeck: remove confusing suggestion for calling a fn type
* It is not clear what a "base function" is.
* The suggestion just adds parens, so suggests calling without args.

The second point could be fixed with e.g. `(...)` instead of `()`,
but the preceding "note: X is a function, perhaps you wish to call it"
should already be clear enough.

Fixes: #31341
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions