RS.CLIPPY.INCONSISTENT_DIGIT_GROUPING

Integer literals with digits grouped inconsistently

This checker is a Clippy lint created by The Rust Project Contributors. The documentation shown here is a copy of the original documentation for: inconsistent_digit_grouping. Copyright ©2025 The Rust Team. All rights reserved.

What it does

Warns if an integral or floating-point constant is grouped inconsistently with underscores.

Why is this bad?

Readers may incorrectly interpret inconsistently grouped digits.

Example

618_64_9189_73_511

Use instead:

61_864_918_973_511