about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2015-08-23 00:38:57 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2015-08-23 00:38:57 +0200
commit73b369d7ab5999eaebeff402edd1b2405b766a4a (patch)
tree565db3348fbabae66508df4cb688f800df9d50a4
parent73685afb8a76148d25d17ea80d0eb26a48839f9b (diff)
downloadrust-73b369d7ab5999eaebeff402edd1b2405b766a4a.tar.gz
rust-73b369d7ab5999eaebeff402edd1b2405b766a4a.zip
Improve E0323 error explanation
-rw-r--r--src/librustc_typeck/diagnostics.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/librustc_typeck/diagnostics.rs b/src/librustc_typeck/diagnostics.rs
index bf2324ab232..ac7794ea583 100644
--- a/src/librustc_typeck/diagnostics.rs
+++ b/src/librustc_typeck/diagnostics.rs
@@ -1279,8 +1279,8 @@ fn main() {
 "##,
 
 E0103: r##"
-You hit this error because the compiler the compiler lacks information
-to determine a type for this pattern binding.
+You hit this error because the compiler lacks information to determine a type
+for this pattern binding.
 
 You have two possibilities to solve this situation:
  * Give an explicit definition of the expression
@@ -2437,8 +2437,8 @@ impl Foo for Bar {
 }
 ```
 
-To fix this error, please verify you didn't misspell the associated
-const name or you did implement the good trait item. Example:
+Please verify that the associated const wasn't misspelled and the correct trait
+was implemented. Example:
 
 ```
 struct Bar;