]> git.lizzy.rs Git - rust.git/commit
Auto merge of #5451 - xyzd:allow-uuid-format-digit-grouping, r=phansch
authorbors <bors@rust-lang.org>
Sun, 12 Apr 2020 08:14:27 +0000 (08:14 +0000)
committerbors <bors@rust-lang.org>
Sun, 12 Apr 2020 08:14:27 +0000 (08:14 +0000)
commitaf5940b73153b2a4ea2922aa803abac45d029982
treeff1465ef9ad2550fa54db05e022e80f34e6e649e
parent97aa8dc778031f929a9563980b7766da0f8b9cf5
parenta296058e50b7c5b2613e6655e80243b7e33fcce9
Auto merge of #5451 - xyzd:allow-uuid-format-digit-grouping, r=phansch

Allow UUID style formatting for `inconsistent_digit_grouping` lint

This change adds a check to the `inconsistent_digit_grouping` to add a check for
NumericLiterals that follow the UUID format of 8-4-4-4-12.

If the NumericLiteral matches the UUID format, no further inconsistent grouping checks
will be performed.

Closes #5431

changelog: Allow UUID style formatting for `inconsistent_digit_grouping` lint