mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
Add more details in error explanation
This commit is contained in:
@@ -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!
|
||||
|
||||
Reference in New Issue
Block a user