# Object initializer as function only argument

**URL:** <https://internals.rust-lang.org/t/object-initializer-as-function-only-argument/16535>\
**Category:** language design\
**Created:** [April 28, 2022, 3:05pm UTC](https://internals.rust-lang.org/t/object-initializer-as-function-only-argument/16535 "2022-04-28T15:05:55Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![toc](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/toc/32/6692_2.png) [@toc](https://internals.rust-lang.org/u/toc)\
**Post date:** [April 29, 2022, 7:28pm UTC](https://internals.rust-lang.org/t/object-initializer-as-function-only-argument/16535/12 "2022-04-29T19:28:52Z")

</div>

@Klaider The answer to this question is huge and complicated. Most of the context is summarized in [this other thread](https://internals.rust-lang.org/t/pre-rfc-named-arguments/16413), linked earlier. There is some agreement and some disagreement about which facets of this feature should ultimately be included, and there are a number of technical limitations that make it more than just picking some syntax. It's unfortunate, but I don't think you're going to get a satisfactory answer that isn't gigantic.

---

_[View the full topic](https://internals.rust-lang.org/t/object-initializer-as-function-only-argument/16535)._
