RS.CLIPPY.UNSEPARATED_LITERAL_SUFFIX

Literals whose suffix is not 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: unseparated_literal_suffix. Copyright ©2025 The Rust Team. All rights reserved.

What it does

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

Why restrict this?

Suffix style should be consistent.

Example

123832i32

Use instead:

123832_i32