bors 04a2ac2de2 Auto merge of #13707 - lowr:feat/move-const-to-impl, r=Veykril
Add `move_const_to_impl` assist

Closes #13277

For the initial implementation, this assist:
- only applies to inherent impl. Much as we can *technically* provide this assist for default impl in trait definitions, it'd be complicated to get it right.
- may break code when the const's name collides with an item of a trait the self type implements.

Comments in the code explain those caveats in a bit more detail.
2022-12-03 13:16:22 +00:00
..
2022-11-23 17:24:03 +02:00
2022-11-23 17:24:03 +02:00
2022-11-23 17:24:03 +02:00
2022-11-29 15:25:09 +01:00
fmt
2022-12-03 01:20:27 +01:00
2022-12-03 01:22:00 +09:00
2022-11-23 17:24:03 +02:00
2022-11-23 17:24:03 +02:00
2022-11-23 17:24:03 +02:00
2022-11-23 17:24:03 +02:00
2022-11-23 17:24:03 +02:00
2022-11-23 17:24:03 +02:00
2022-11-23 17:24:03 +02:00
2022-11-23 17:24:03 +02:00
2022-11-23 17:24:03 +02:00
2022-11-23 17:24:03 +02:00
2022-11-23 17:24:03 +02:00
2022-11-23 17:24:03 +02:00
2022-11-23 17:24:03 +02:00
2022-11-23 17:24:03 +02:00
2022-11-23 17:24:03 +02:00
2022-11-23 17:24:03 +02:00
2022-11-23 17:24:03 +02:00
2022-11-23 17:24:03 +02:00
2022-11-23 17:24:03 +02:00
2022-11-23 17:24:03 +02:00