Hi,
Sometimes when I change the interface on some of the functions, I need to update a good amount of code with huge number of compilation errors.
It would be much easier to see just top (not bottom) few errors to avoid being overwhelmed.
So I tried cargo build | head
but it looks like cargo doesn’t write to a normal stdout so that doesn’t work (also cargo build > x.txt || cat x.txt
returns an empty file).
How can I just see the top few errors?
Thanks.