about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-09-11 10:04:56 +0000
committerbors <bors@rust-lang.org>2024-09-11 10:04:56 +0000
commit0233b774993fd39ae3a95d5485b61ef37bf25975 (patch)
treee293f167b94eb7900652013ab0efc7cdd8ea1ec5 /tests/codegen/patchable-function-entry
parent7d8c5ad5e6f6f3252528a3f4e9a1403edd9aaa98 (diff)
parent38514bade22c673cadc244c0f264917104998294 (diff)
downloadrust-0233b774993fd39ae3a95d5485b61ef37bf25975.tar.gz
rust-0233b774993fd39ae3a95d5485b61ef37bf25975.zip
Auto merge of #18050 - rust-lang:davidbarsky/push-uyvtlsvoqrxw, r=Veykril
assist: ensure `replace_qualified_name_with_use` applies to the first path segment

This change helps a bit with the discoverability of `replace_qualified_name_with_use`. Specifically, it ensures that a cursor on the first path segment (e.g., `$0std::fmt::Debug`, where `$0` is the cursor) would result in an import along the lines of `use std::fmt;` and `fmt::Debug;` at the usage sites.
Diffstat (limited to 'tests/codegen/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions