diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2017-08-14 21:56:55 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2017-08-14 21:56:55 +0200 |
| commit | 3af0e4a2ad40253b67e5259b6cb0a5b6c289d3e9 (patch) | |
| tree | fcb4e60b308f0074ad78e75dafb554458790576f | |
| parent | b1ff235490917e7cd351398d72557b3205474135 (diff) | |
Remove useless help part
| -rw-r--r-- | src/librustc_typeck/check/mod.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librustc_typeck/check/mod.rs b/src/librustc_typeck/check/mod.rs index 17611af5ac4..0bb6f128d63 100644 --- a/src/librustc_typeck/check/mod.rs +++ b/src/librustc_typeck/check/mod.rs @@ -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 { |
