Report correct lineno for failure patterns