about summary refs log tree commit diff
path: root/src/test/mir-opt/lower_array_len.array_len.SimplifyLocals.diff
diff options
context:
space:
mode:
authorDorian Scheidt <dorian.scheidt@gmail.com>2022-08-13 13:29:41 -0500
committerDorian Scheidt <dorian.scheidt@gmail.com>2022-08-16 15:37:24 -0500
commit39d17efde7d2da436f349c1b0ca55c37bae0254f (patch)
tree3fbe786bb6c5c34632eb2b10c79ca5f6406ea2ad /src/test/mir-opt/lower_array_len.array_len.SimplifyLocals.diff
parentbaa2cccb24023a246d4258b08ff4064c9169e67e (diff)
downloadrust-39d17efde7d2da436f349c1b0ca55c37bae0254f.tar.gz
rust-39d17efde7d2da436f349c1b0ca55c37bae0254f.zip
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 'src/test/mir-opt/lower_array_len.array_len.SimplifyLocals.diff')
0 files changed, 0 insertions, 0 deletions