mirror of
https://github.com/NixOS/nix
synced 2025-06-28 22:01:15 +02:00
hint only
This commit is contained in:
parent
72ecccee57
commit
960d4362ed
1 changed files with 8 additions and 0 deletions
|
@ -149,5 +149,13 @@ int main()
|
||||||
.errPos = Pos(problem_file, 40, 13)
|
.errPos = Pos(problem_file, 40, 13)
|
||||||
}});
|
}});
|
||||||
|
|
||||||
|
// Error with only hint and name..
|
||||||
|
logError(
|
||||||
|
ErrorInfo { .name = "error name",
|
||||||
|
.hint = hintfmt("hint %1%", "only"),
|
||||||
|
.nixCode = NixCode {
|
||||||
|
.errPos = Pos(problem_file, 40, 13)
|
||||||
|
}});
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue