# Named type parameters

**URL:** <https://internals.rust-lang.org/t/named-type-parameters/6921>\
**Category:** Uncategorized\
**Created:** [March 5, 2018, 2:07pm UTC](https://internals.rust-lang.org/t/named-type-parameters/6921 "2018-03-05T14:07:43Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![felix.s](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/felix.s/32/8073_2.png) [@felix.s](https://internals.rust-lang.org/u/felix.s)\
**Post date:** [March 5, 2018, 4:24pm UTC](https://internals.rust-lang.org/t/named-type-parameters/6921/6 "2018-03-05T16:24:56Z")

</div>

> [@atagunov](#):
>
> Being dumb: why not
> 
> let foo: HashMap\<A = OtherAlloc\> = ...
> 
> ?

I guess this could conflict with syntax for bounds on associated types?

(Which is quite unfortunate anyway; `where <T as Iterator>::Item = U` would be much clearer than `where T: Iterator<Item=U>`, even if it's more typing.)

---

_[View the full topic](https://internals.rust-lang.org/t/named-type-parameters/6921)._
