about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/Linker.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-01-23 16:32:53 +0000
committerbors <bors@rust-lang.org>2023-01-23 16:32:53 +0000
commitc552e5a55f13b2f08d506bb46fb74dbc11702d0d (patch)
tree76d83fe7423b5d456cf69e3965c2244772fc4a1f /compiler/rustc_llvm/llvm-wrapper/Linker.cpp
parent1575d55fc81c328eb7ae728d9e3aaba9d13d4a16 (diff)
parent01d8b8947c54999eb15d88b60fa17bdde18b4875 (diff)
downloadrust-c552e5a55f13b2f08d506bb46fb74dbc11702d0d.tar.gz
rust-c552e5a55f13b2f08d506bb46fb74dbc11702d0d.zip
Auto merge of #14004 - lowr:patch/no-need-to-escape-non-snippet, r=Veykril
Don't escape non-snippets in assist

I was misunderstanding that we're always sending snippets as response to assist request. For assists that never return snippets like `move_const_to_impl` we don't need to escape, and I don't think `utils::escape_non_snippet()` is useful at the moment since we guarantee that only a single edit will have `InsertTextFormat.Snippet` and we have `utils::render_snippet()` for that.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions