Closed
Description
When using the 'unmerge use' assist on part of a use
statement that has attributes attached, the new extracted use
statement should use the same attributes, but it doesn't.
rust-analyzer version: 0.4.2354-standalone (dd2354c 2025-03-24)
rustc version: 1.87.0-nightly (f4a216d28 2025-03-02)
editor or extension: VSCode (arch build, RA 0.4.2354)
code snippet to reproduce:
#[cfg(any())]
#[allow(deprecated)]
use foo::{Bar, Baz}; // unmerge use of Baz