-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
C-bugCategory: bugCategory: bug
Description
rust-analyzer version: 1.90.0 (1159e78 2025-09-14), 1.92.0-nightly (5c7ae0c 2025-10-02)
rustc version: 1.90.0 (1159e78c4 2025-09-14), 1.92.0-nightly (5c7ae0c7e 2025-10-02)
editor or extension: Zed
relevant settings: none, as far as I can tell
repository link: https://github.com/generic-daw/generic-daw
instructions to reproduce:
- clone above repo
- disable nightly-only features present in
.rustfmt.toml
(not strictly necessary, this reproduces without) - navigate to https://github.com/generic-daw/generic-daw/blob/716331b78cec8fad10f8e09dbf92eb4ad76beae8/generic_daw_gui/src/arrangement_view.rs#L984
- remove the
text::
prefix oftext::Wrapping::None
- auto-import
Wrapping
fromiced::widget::text::Wrapping
- observe that the import has been changed to
text::{self, Wrapping}
, and that all calls to thetext
function have broken
I'm sadly not sure how to minimize this, I've just encountered this specific case a bunch in this project and only just noticed that the aforementioned nightly-only rustfmt options aren't to blame.
janTatesa
Metadata
Metadata
Assignees
Labels
C-bugCategory: bugCategory: bug