Stream: t-compiler/wg-rls-2.0

Topic: how to get trait's functions


gfreezy (Feb 24 2019 at 15:39, on Zulip):

I'm working on https://github.com/rust-analyzer/rust-analyzer/issues/878. Why there doesn't exist a method on TraitDef to get all the functions?

gfreezy (Feb 24 2019 at 15:44, on Zulip):

@matklad

matklad (Feb 24 2019 at 15:44, on Zulip):

I think just because this wasn't needed before. Seems like a good idea to add such a method!

Last update: Nov 12 2019 at 16:20UTC