Remove useless help part

This commit is contained in:
Guillaume Gomez 2017-08-14 21:56:55 +02:00
parent b1ff235490
commit 3af0e4a2ad
1 changed files with 1 additions and 2 deletions

View File

@ -2944,8 +2944,7 @@ impl<'a, 'gcx, 'tcx> FnCtxt<'a, 'gcx, 'tcx> {
type_error_struct!(self.tcx().sess, field.span, expr_t, E0615,
"attempted to take value of method `{}` on type `{}`",
field.node, expr_t)
.help("maybe a `()` to call it is missing? \
If not, try an anonymous function")
.help("maybe a `()` to call it is missing?")
.emit();
self.tcx().types.err
} else {