mirror of
https://github.com/NixOS/nix
synced 2025-06-25 19:01:16 +02:00
printEnvPosChain
This commit is contained in:
parent
310c689d31
commit
176911102c
11 changed files with 32193 additions and 4 deletions
|
@ -100,6 +100,12 @@ struct ErrPos {
|
|||
}
|
||||
};
|
||||
|
||||
std::optional<LinesOfCode> getCodeLines(const ErrPos & errPos);
|
||||
void printCodeLines(std::ostream & out,
|
||||
const string & prefix,
|
||||
const ErrPos & errPos,
|
||||
const LinesOfCode & loc);
|
||||
|
||||
struct Trace {
|
||||
std::optional<ErrPos> pos;
|
||||
hintformat hint;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue