bors 2f02ea03b0 Auto merge of #13041 - DorianListens:dscheidt/gen-fn-self-assoc-2, r=Veykril
feat: Generate static method using Self::assoc() syntax

This change improves the `generate_function` assist to support generating static methods/associated functions using the `Self::assoc()` syntax. Previously, one could generate a static method, but only when specifying the type name directly (like `Foo::assoc()`). After this change, `Self` is supported as well as the type name.

Fixes #13012
2022-08-19 10:57:02 +00:00
..
2022-08-10 16:29:23 +08:00
2022-07-20 15:06:15 +02:00
2022-07-20 15:06:15 +02:00
2022-07-20 15:06:15 +02:00
2022-08-17 21:44:58 +08:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:06:15 +02:00
2022-07-23 11:09:01 -04:00
2022-08-19 01:22:43 +00:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:06:15 +02:00
2022-07-20 15:06:15 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:06:15 +02:00
2022-07-20 15:06:15 +02:00
2022-07-20 15:06:15 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00