"rust-analyzer.imports.prefix": "plain"
is ignored when importing items defined in subdirectories
#17271
Labels
C-bug
Category: bug
rust-analyzer version: 0.3.1958-standalone (5bf2f85 2024-05-09)
rustc version: 1.78.0 (9b00956e5 2024-04-29)
editor or extension: VSCode
relevant settings:
rust-analyzer.imports.prefix
to reproduce:
src
directoryand the following files:
rust-analyzer.imports.prefix
toplain
(the default).a()
, typeb
and use auto-import. Observe thatfoo::b
is correctly imported.b()
, typec
and use auto-import. Observe thatself::bar::c
is incorrectly imported; it should bebar::c
.The text was updated successfully, but these errors were encountered: