about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry
diff options
context:
space:
mode:
authorChayim Refael Friedman <chayimfr@gmail.com>2024-09-01 07:02:40 +0300
committerChayim Refael Friedman <chayimfr@gmail.com>2024-09-08 23:41:16 +0300
commitca262a34acdde2f72d15535e9f535021a9cb8d62 (patch)
tree6de7a4c1691c33deb9767374368ce6559b019aac /tests/codegen/patchable-function-entry
parentf16a03f3a96d5b82f30f46d979989ef3f529f031 (diff)
downloadrust-ca262a34acdde2f72d15535e9f535021a9cb8d62.tar.gz
rust-ca262a34acdde2f72d15535e9f535021a9cb8d62.zip
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.
Diffstat (limited to 'tests/codegen/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions