RS.CLIPPY.SEPARATED_LITERAL_SUFFIX

Literals whose suffix is separated by an underscore

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

What it does

Warns if literal suffixes are separated by an underscore. To enforce separated literal suffix style, see the unseparated_literal_suffix lint.

Why restrict this?

Suffix style should be consistent.

Example

123832_i32

Use instead:

123832i32