-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
C-bugCategory: Clippy is not doing the correct thingCategory: Clippy is not doing the correct thingI-suggestion-causes-errorIssue: The suggestions provided by this Lint cause an ICE/error when appliedIssue: The suggestions provided by this Lint cause an ICE/error when applied

Description
The suggestion below doesn't include the usize suffix.
#[warn(clippy::decimal_literal_representation)]
fn main() {
let _ = 32_773usize;
}
warning: integer literal has a better hexadecimal representation
--> src/main.rs:4:13
|
4 | let _ = 32_773usize;
| ^^^^^^^^^^^ help: consider: `0x8005`
|
I'm busy with the fix for this.
Metadata
Metadata
Assignees
Labels
C-bugCategory: Clippy is not doing the correct thingCategory: Clippy is not doing the correct thingI-suggestion-causes-errorIssue: The suggestions provided by this Lint cause an ICE/error when appliedIssue: The suggestions provided by this Lint cause an ICE/error when applied