Make inlining error messages more informative.