diff options
| -rw-r--r-- | src/librustc/middle/traits/error_reporting.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/middle/traits/error_reporting.rs b/src/librustc/middle/traits/error_reporting.rs index 7ccb5e6e711..5e7168b6735 100644 --- a/src/librustc/middle/traits/error_reporting.rs +++ b/src/librustc/middle/traits/error_reporting.rs @@ -408,7 +408,7 @@ fn note_obligation_cause_code<'a, 'tcx>(infcx: &InferCtxt<'a, 'tcx>, } ObligationCauseCode::CompareImplMethodObligation => { span_note!(tcx.sess, cause_span, - "the requirement `{}` appears on the impl method\ + "the requirement `{}` appears on the impl method \ but not on the corresponding trait method", predicate.user_string(infcx.tcx)); } |
