Add more details in error explanation

This commit is contained in:
Guillaume Gomez 2015-06-29 10:03:02 +02:00
parent 14e3d26b8a
commit b442530671

View File

@ -386,8 +386,8 @@ type X = u32<'static>; // error: lifetime parameters are not allowed on
// 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!