about summary refs log tree commit diff
path: root/tests/ui/patchable-function-entry/patchable-function-entry-attribute.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-06-07 10:35:49 +0000
committerbors <bors@rust-lang.org>2024-06-07 10:35:49 +0000
commit1eda1ae5865cdc4cb8d00af9eec70b418c2c407d (patch)
tree6bbd7a5bb938def6db9e53fad4d59d153b3b7cae /tests/ui/patchable-function-entry/patchable-function-entry-attribute.rs
parent07034ff910e946952e7402070a2c77e4db109674 (diff)
parentc07530c580d246441ff1f65de2b775f3d5631058 (diff)
downloadrust-1eda1ae5865cdc4cb8d00af9eec70b418c2c407d.tar.gz
rust-1eda1ae5865cdc4cb8d00af9eec70b418c2c407d.zip
Auto merge of #17308 - mathew-horner:prefer-workspace, r=Veykril
Add preference modifier for workspace-local crates when using auto import.

`@joshka` pointed out some odd behavior of auto import ordering. It doesn't seem that the current heuristics were applying any sort of precedence to imports from the workspace. I've went ahead and added that.

I hope to get some feedback on the modifier numbers here. I just went with something that felt like it balanced giving more power to workspace crates without completely ignoring relative path distance.

closes https://github.com/rust-lang/rust-analyzer/issues/17303
Diffstat (limited to 'tests/ui/patchable-function-entry/patchable-function-entry-attribute.rs')
0 files changed, 0 insertions, 0 deletions