mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 16:23:02 +00:00
hint only
This commit is contained in:
parent
72ecccee57
commit
960d4362ed
@ -149,5 +149,13 @@ int main()
|
||||
.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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user