diff options
| author | bors <bors@rust-lang.org> | 2022-08-19 10:57:02 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-08-19 10:57:02 +0000 |
| commit | 2f02ea03b0934095a142e904dd587e32bcf5f437 (patch) | |
| tree | 70bcc877e138023224ff7e51e830402309f2e815 /compiler/rustc_interface/src/errors.rs | |
| parent | 62c31070650a9d3579f1aae6da3bcdc0bad02afc (diff) | |
| parent | 48ea3825b8951a39e27503ea16cacc9147255d79 (diff) | |
| download | rust-2f02ea03b0934095a142e904dd587e32bcf5f437.tar.gz rust-2f02ea03b0934095a142e904dd587e32bcf5f437.zip | |
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
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
