From: Mazdak Farrokhzad Date: Tue, 23 Apr 2019 19:50:57 +0000 (+0200) Subject: Rollup merge of #60169 - varkor:tidy-unnecessary-ignore-newline, r=kennytm X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=d1b2d6d64d0ec496c176c1c5169e211918080514;p=rust.git Rollup merge of #60169 - varkor:tidy-unnecessary-ignore-newline, r=kennytm Warn when ignore-tidy-linelength is present, but no lines are too long It's easy for a `// ignore-tidy-linelength` to be added when there is a genuine need to ignore a file's line length, but then after refactoring the need is gone, but the tidy directive is not removed. This means that in the future, further editing may accidentally add unnecessarily long lines. This change forces `// ignore-tidy-linelength` to be used exactly when necessary, to make sure such changes are intentional. --- d1b2d6d64d0ec496c176c1c5169e211918080514