diff options
| author | bors <bors@rust-lang.org> | 2024-04-24 07:46:09 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-04-24 07:46:09 +0000 |
| commit | 5a315da949c157b96070c0c57fbab04087c1a801 (patch) | |
| tree | 529cf8c5bce5de306e45639aa066c2f65f213770 /tests/ui/patchable-function-entry/patchable-function-entry-flags.rs | |
| parent | afa2a898a4859f406afb5d49f6f69451e37bcfd2 (diff) | |
| parent | 9e212e05230160d1001c918a74e02b4227b9ca74 (diff) | |
| download | rust-5a315da949c157b96070c0c57fbab04087c1a801.tar.gz rust-5a315da949c157b96070c0c57fbab04087c1a801.zip | |
Auto merge of #17131 - bzy-debug:issue-17107, r=lnicola
different error code of "no such field" error based on variant type fix #17107 Pass variant information down to diagnostic, so that we can get different error code based on variant type. After fix: - structure <img width="868" alt="Screenshot 2024-04-23 at 21 03 27" src="https://github.com/rust-lang/rust-analyzer/assets/71200607/c2d1e389-5b62-4e9a-a133-9ae41f80615f"> - enum's structure variant <img width="937" alt="Screenshot 2024-04-23 at 21 04 41" src="https://github.com/rust-lang/rust-analyzer/assets/71200607/ad8558a7-d809-4968-b290-2f6bbb8d6b8c">
Diffstat (limited to 'tests/ui/patchable-function-entry/patchable-function-entry-flags.rs')
0 files changed, 0 insertions, 0 deletions
