about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-02-28 20:57:48 +0000
committerbors <bors@rust-lang.org>2021-02-28 20:57:48 +0000
commitac2f041b4787a128f4eaf26736c2d2df40e2bee6 (patch)
treedc723ab5a7d31ac5ee90b1acead3ac7a26802411 /src/test/codegen/src-hash-algorithm
parentabd2c7ebfb47b3e2dbbb3ce3a7a54ef3847bb7dc (diff)
parentebc5c8f271cdb9e64f56b19273ff87745639433c (diff)
downloadrust-ac2f041b4787a128f4eaf26736c2d2df40e2bee6.tar.gz
rust-ac2f041b4787a128f4eaf26736c2d2df40e2bee6.zip
Auto merge of #6787 - matthiaskrgr:lint_msgs, r=llogiq
tests: add test that roughly ensures that our lint messages conform with the diagnostics convention of the rustc dev guide

lint message should not start with uppercase letters
lint messages should not have punctuation at the end of the last line

https://rustc-dev-guide.rust-lang.org/diagnostics.html#diagnostic-structure

The test reads through all the .stderr files in the testsuit and checks lint messages that start with "help: ", "error: " etc.
There is also an exception list for special messages that are deemed acceptable.

changelog: make sure lint messages conform with the rustc dev guide and add test
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions