mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vet: turn warnings into errors with -W flag (#9575)
This commit is contained in:
@@ -16,12 +16,13 @@ pub enum FixKind {
|
||||
}
|
||||
|
||||
pub struct Error {
|
||||
pub mut:
|
||||
kind ErrorKind [required]
|
||||
pub:
|
||||
// General message
|
||||
message string [required]
|
||||
details string // Details about how to resolve or fix the situation
|
||||
file_path string // file where the error have origin
|
||||
pos token.Position // position in the file
|
||||
kind ErrorKind [required]
|
||||
fix FixKind [required]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user