# Allow importing assoicated methods

**URL:** <https://internals.rust-lang.org/t/allow-importing-assoicated-methods/18131>\
**Category:** Uncategorized\
**Created:** [January 12, 2023, 3:55am UTC](https://internals.rust-lang.org/t/allow-importing-assoicated-methods/18131 "2023-01-12T03:55:05Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![josh](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/josh/32/5934_2.png) [@josh](https://internals.rust-lang.org/u/josh)\
**Post date:** [January 12, 2023, 4:54am UTC](https://internals.rust-lang.org/t/allow-importing-assoicated-methods/18131/5 "2023-01-12T04:54:31Z")

</div>

> [@tvallotton](#):
>
> Is there a reason not to allow importing associated methods from types and traits? Enums support importing constructors, which is similar. It would be nice to be able to do stuff like:
> 
> ```rust
> use Default::default; 
> use std::MaybeUninit::uninit;
> 
> ```

No reason whatsoever, except that it touches name resolution and hasn't been done yet, and there are relatively few people capable of doing it. (@petrochenkov being one of them, and thanks @CAD97 for the link.)

We should _absolutely_ support this.

---

_[View the full topic](https://internals.rust-lang.org/t/allow-importing-assoicated-methods/18131)._
