diff options
| author | bors <bors@rust-lang.org> | 2023-06-22 10:44:01 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-06-22 10:44:01 +0000 |
| commit | f0e00ed599e453afd9d71f793e6a0c0dd68dad47 (patch) | |
| tree | 3adb7e0b43701a0d219a1b670b9edb8a9a857489 /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff | |
| parent | 00221c5026bc79d242ad7211c05aa92c4bde45c7 (diff) | |
| parent | 4ed119766282b2e758a88ac29daf488d718f730c (diff) | |
| download | rust-f0e00ed599e453afd9d71f793e6a0c0dd68dad47.tar.gz rust-f0e00ed599e453afd9d71f793e6a0c0dd68dad47.zip | |
Auto merge of #14948 - alibektas:14386, r=Veykril
feature : assist delegate impl This PR ( fixes #14386 ) introduces a new IDE assist that generates a trait impl for a struct that delegates a field. This is a draft because the current `ide_db::path_transform::PathTransform` produces some unwanted results when it deals with extern crates, an example of which I attach as a GIF. GIFs : 1. A general case  2. A case where `ide_db::path_transform::PathTransform` fails to correctly resolve a property ( take `Allocator` as an example ) to its full path, thus causing an error to occur. ( Not to even mention that resolving this causes another error `use of unstable library feature 'allocator_api'` to occur 
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions
