diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2015-01-27 05:57:12 -0500 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2015-01-28 05:15:24 -0500 |
| commit | aeeab35ec21e6c9fc41ac4d5fb3733cfa67f890e (patch) | |
| tree | 11a6e8dc3475f624067b5252dd805864173a7156 /src | |
| parent | 09783d1dab5817b9c0202ce2fa2b0e5e78e79d44 (diff) | |
| download | rust-aeeab35ec21e6c9fc41ac4d5fb3733cfa67f890e.tar.gz rust-aeeab35ec21e6c9fc41ac4d5fb3733cfa67f890e.zip | |
Add missing space to error message.
Diffstat (limited to 'src')
| -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)); } |
