about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/expr.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-09-21 11:16:38 +0000
committerbors <bors@rust-lang.org>2024-09-21 11:16:38 +0000
commitf48c99a0041bb82a750b34cf2570e0e73d6d801c (patch)
tree4184ad5ad30b498370ae79d87a257d7f16d23c98 /compiler/rustc_parse/src/parser/expr.rs
parent74fd001cdae0321144a20133f2216ea8a97da476 (diff)
parent9ae1fb4329eaed6e75d20da67b30bf86c5700481 (diff)
downloadrust-f48c99a0041bb82a750b34cf2570e0e73d6d801c.tar.gz
rust-f48c99a0041bb82a750b34cf2570e0e73d6d801c.zip
Auto merge of #130599 - jieyouxu:snake_case_binary_cleanup, r=petrochenkov
Explain why `non_snake_case` is skipped for binary crates and cleanup tests

- Explain `non_snake_case` lint is skipped for bin crate names because binaries are not intended to be distributed or consumed like library crates (#45127).
- Coalesce the bunch of tests into a single one but with revisions, which is easier to compare the differences for `non_snake_case` behavior with respect to crate types.

Follow-up to #121749 with some more comments and test cleanup.

cc `@saethlin` who bumped into one of the tests and was confused why it was `only-x86_64-unknown-linux-gnu`.

try-job: dist-i586-gnu-i586-i686-musl
Diffstat (limited to 'compiler/rustc_parse/src/parser/expr.rs')
0 files changed, 0 insertions, 0 deletions