1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-28 17:51:15 +02:00

hint only

This commit is contained in:
Ben Burdette 2020-05-12 13:54:18 -06:00
parent 72ecccee57
commit 960d4362ed

View file

@ -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;
}