about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-03-04 08:36:39 +0000
committerbors <bors@rust-lang.org>2024-03-04 08:36:39 +0000
commit518cfe8cb7dc594c7b5e8f3a6448393951b066c6 (patch)
tree58f503be78182cd078df8ebf9c59691f61cfa1f0 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentd444acdb19b80c5a321ed7548bb0fff821e9e459 (diff)
parent1d28aecd13a3a19c3a9fdce81e0c50f0b74caf6b (diff)
downloadrust-518cfe8cb7dc594c7b5e8f3a6448393951b066c6.tar.gz
rust-518cfe8cb7dc594c7b5e8f3a6448393951b066c6.zip
Auto merge of #16723 - norskeld:constants-autocomplete, r=Veykril
fix: autocomplete constants inside format strings

Hi! This PR adds autocompletion for constants (including statics) inside format strings and closes #16608.

I'm not sure about adding the `constants` field to the `CompletionContext`. It kinda makes sense, since it's in line with the `locals` field, and this way everything looks a bit cleaner, but at the same time does it really need to be there?

Anyway, let me know if anything should/can be changed. :)
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions