]> git.lizzy.rs Git - rust.git/commitdiff
Add more details in error explanation
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Mon, 29 Jun 2015 08:03:02 +0000 (10:03 +0200)
committerGuillaume Gomez <guillaume1.gomez@gmail.com>
Mon, 29 Jun 2015 08:03:02 +0000 (10:03 +0200)
src/librustc/diagnostics.rs

index 8d51674ab13e5154b5b1e078167cb8a45d714bd3..36ec48633dcf1f932a1ee1cf616edb555b589eab 100644 (file)
@@ -386,8 +386,8 @@ enum Enum {
                        //        this type
 ```
 
-Please check you actually used the good type or check again its definition.
-Example:
+Please check that you used the correct type and recheck its definition,
+perhaps it doesn't need the lifetime parameter. Example:
 
 ```
 type X = u32; // ok!