Skip to content

Commit

Permalink
Remove useless help part
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Aug 14, 2017
1 parent b1ff235 commit 3af0e4a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/librustc_typeck/check/mod.rs
Expand Up @@ -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 {
Expand Down

0 comments on commit 3af0e4a

Please sign in to comment.