-
Notifications
You must be signed in to change notification settings - Fork 948
Closed
Labels
bugPanic, non-idempotency, invalid code, etc.Panic, non-idempotency, invalid code, etc.
Description
Attempting to format the following:
pub enum PublishedFileVisibility {
Public = sys::ERemoteStoragePublishedFileVisibility_k_ERemoteStoragePublishedFileVisibilityPublic as i32,
FriendsOnly = sys::ERemoteStoragePublishedFileVisibility_k_ERemoteStoragePublishedFileVisibilityFriendsOnly as i32,
Private = sys::ERemoteStoragePublishedFileVisibility_k_ERemoteStoragePublishedFileVisibilityPrivate as i32,
}
produces this error:
error[internal]: left behind trailing whitespace
--> /playground/src/main.rs:2:2:0
|
2 |
| ^^^^
|
warning: rustfmt has failed to format. See previous 1 errors.
This is the same testcase from #3562, but with as i32
appended to each variant.
Metadata
Metadata
Assignees
Labels
bugPanic, non-idempotency, invalid code, etc.Panic, non-idempotency, invalid code, etc.