about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-03-03 10:15:27 +0000
committerbors <bors@rust-lang.org>2023-03-03 10:15:27 +0000
commit3b857e1c38bc04384da4a0df9e519a601c60265e (patch)
treefed875f46b771891a564006e51f8f15c0f231df4 /compiler/rustc_llvm/llvm-wrapper
parent9b441b9c67531481c7c18cd09b2397c0591ae63f (diff)
parentbda2af71c61d1fd558e1a96a1425bc55020c45d0 (diff)
downloadrust-3b857e1c38bc04384da4a0df9e519a601c60265e.tar.gz
rust-3b857e1c38bc04384da4a0df9e519a601c60265e.zip
Auto merge of #14238 - lowr:feat/allow-generate-fn-across-local-crates, r=Veykril
feat: allow `generate_function` to generate in different local crate

Closes #14224

This PR allows `generate_function` assist to generate in crates other than the current one. I took a step further from the original request and made it allow to generate in any local crates since it looked reasonable and IDE layer doesn't really know about packages.

(actually we have been checking which crate we're generating in only for methods and not for freestanding functions, so we were providing the assist for `std::foo$0()`; it's both feature and fix in a sense)

The first commit is a drive-by fix unrelated to the feature.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
0 files changed, 0 insertions, 0 deletions