Add more details in error explanation
This commit is contained in:
parent
14e3d26b8a
commit
b442530671
@ -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!
|
||||
|
Loading…
x
Reference in New Issue
Block a user