de7abd8824
This unifies the `non_snake_case_functions` and `uppercase_variables` lints into one lint, `non_snake_case`. It also now checks for non-snake-case modules. This also extends the non-camel-case types lint to check type parameters, and merges the `non_uppercase_pattern_statics` lint into the `non_uppercase_statics` lint. Because the `uppercase_variables` lint is now part of the `non_snake_case` lint, all non-snake-case variables that start with lowercase characters (such as `fooBar`) will now trigger the `non_snake_case` lint. New code should be updated to use the new `non_snake_case` lint instead of the previous `non_snake_case_functions` and `uppercase_variables` lints. All use of the `non_uppercase_pattern_statics` should be replaced with the `non_uppercase_statics` lint. Any code that previously contained non-snake-case module or variable names should be updated to use snake case names or disable the `non_snake_case` lint. Any code with non-camel-case type parameters should be changed to use camel case or disable the `non_camel_case_types` lint. [breaking-change] |
||
---|---|---|
.. | ||
core-map.rs | ||
core-set.rs | ||
core-std.rs | ||
core-uint-to-str.rs | ||
msgsend-pipes-shared.rs | ||
msgsend-pipes.rs | ||
msgsend-ring-mutex-arcs.rs | ||
msgsend-ring-rw-arcs.rs | ||
noise.rs | ||
rt-messaging-ping-pong.rs | ||
rt-parfib.rs | ||
rt-spawn-rate.rs | ||
shootout-ackermann.rs | ||
shootout-binarytrees.rs | ||
shootout-chameneos-redux.rs | ||
shootout-fannkuch-redux.rs | ||
shootout-fasta-redux.rs | ||
shootout-fasta.rs | ||
shootout-fibo.rs | ||
shootout-k-nucleotide-pipes.rs | ||
shootout-k-nucleotide.data | ||
shootout-k-nucleotide.rs | ||
shootout-mandelbrot.rs | ||
shootout-meteor.rs | ||
shootout-nbody.rs | ||
shootout-pfib.rs | ||
shootout-pidigits.rs | ||
shootout-regex-dna.rs | ||
shootout-reverse-complement.rs | ||
shootout-spectralnorm.rs | ||
shootout-threadring.rs | ||
silly-test-spawn.rs | ||
spawnone.rs | ||
std-smallintmap.rs | ||
sudoku.rs | ||
task-perf-alloc-unwind.rs | ||
task-perf-jargon-metal-smoke.rs | ||
task-perf-one-million.rs | ||
task-perf-spawnalot.rs |