mirror of https://github.com/rust-lang/rust.git
Remove useless help part
This commit is contained in:
parent
b1ff235490
commit
3af0e4a2ad
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue