Skip to content

Order of use items disagrees with rustfmt on betaΒ #528

@jonhoo

Description

@jonhoo

rust.vim version: 889b9a7

rustc version: rustc 1.90.0-beta.1 (788da80fc 2025-08-04)

editor or extension: NVIM v0.11.3

code snippet to reproduce:

use std::collections::{hash_map, HashMap};

rust.vim's format-on-save insists that this should be formatted as above, but cargo fmt on both beta and stable rewrites it to:

use std::collections::{HashMap, hash_map};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions