diff options
| author | bors <bors@rust-lang.org> | 2024-09-11 10:33:43 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-09-11 10:33:43 +0000 |
| commit | 97907ca6ef41a1c102ee51c89d0a0f49544daeaf (patch) | |
| tree | cc77f1c9f4311d5968e4180bff0c73aaf1e054c4 /compiler/rustc_llvm/llvm-wrapper/Linker.cpp | |
| parent | ec72a9978aeeb66d63fca21c5352aa44641427d9 (diff) | |
| parent | ca262a34acdde2f72d15535e9f535021a9cb8d62 (diff) | |
| download | rust-97907ca6ef41a1c102ee51c89d0a0f49544daeaf.tar.gz rust-97907ca6ef41a1c102ee51c89d0a0f49544daeaf.zip | |
Auto merge of #18018 - ChayimFriedman2:unit-ret-complete-semi, r=Veykril
feat: Automatically add semicolon when completing unit-returning functions But provide a config to suppress that. I didn't check whether we are in statement expression position, because this is hard in completion (due to the natural incompleteness of source code when completion is invoked), and anyway using function returning unit as an argument to something seems... dubious. Fixes #17263.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions
