diff options
| author | bors <bors@rust-lang.org> | 2022-12-03 13:16:22 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-12-03 13:16:22 +0000 |
| commit | 04a2ac2de20565e87c561bdb3c3814dfeec1513c (patch) | |
| tree | ead6c8f8a5ba4436e81e5728080c546613239ab2 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | d7be2fa1a6d8375465c026efd079f7c7f0678775 (diff) | |
| parent | 6d4538734e48d74be5f64c87dbac188cfdb1e1fd (diff) | |
| download | rust-04a2ac2de20565e87c561bdb3c3814dfeec1513c.tar.gz rust-04a2ac2de20565e87c561bdb3c3814dfeec1513c.zip | |
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.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
