basho/rebar — pull request #265 by legoscia (2012-07-09 10:44:33+00:00)
Title: Fix rebar_base_compiler:format_errors/3 for errors in include files

Handle the case where the error didn't occur in the file being
compiled. That is, instead of:

/path/to/foo.erl:9: type foo() already defined

print something like:

In file included from /path/to/foo.erl:
/path/to/bar.hrl:9: type foo() already defined