about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry/patchable-function-entry-no-flag.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-09-11 10:33:43 +0000
committerbors <bors@rust-lang.org>2024-09-11 10:33:43 +0000
commit97907ca6ef41a1c102ee51c89d0a0f49544daeaf (patch)
treecc77f1c9f4311d5968e4180bff0c73aaf1e054c4 /tests/codegen/patchable-function-entry/patchable-function-entry-no-flag.rs
parentec72a9978aeeb66d63fca21c5352aa44641427d9 (diff)
parentca262a34acdde2f72d15535e9f535021a9cb8d62 (diff)
downloadrust-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 'tests/codegen/patchable-function-entry/patchable-function-entry-no-flag.rs')
0 files changed, 0 insertions, 0 deletions