diff options
| author | bors <bors@rust-lang.org> | 2023-07-20 20:34:06 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-07-20 20:34:06 +0000 |
| commit | 399b068235ceea440540539b3bfd1aeb82214a28 (patch) | |
| tree | 4c30e3f873d2ce6a23a93e28296c5ee658a24f67 /tests/ui/recursion/issue-26548-recursion-via-normalize.stderr | |
| parent | 1554942cdc0099e081d5cd673d45f8a09cfd0eb0 (diff) | |
| parent | 1f02c75718706d6180f9b25f55aa50f1b4ce75e1 (diff) | |
| download | rust-399b068235ceea440540539b3bfd1aeb82214a28.tar.gz rust-399b068235ceea440540539b3bfd1aeb82214a28.zip | |
Auto merge of #113856 - WaffleLapkin:vtablin', r=oli-obk
Refactor vtable encoding and optimize it for the case of multiple marker traits This PR does two things - Refactor `prepare_vtable_segments` (this was motivated by the other change, `prepare_vtable_segments` was quite hard to understand and while trying to edit it I've refactored it) - Mostly remove `loop`s labeled `break`s/`continue`s whenever there is a simpler solution - Also use `?` - Make vtable format a bit more efficient wrt to marker traits - See the tests for an example Fixes https://github.com/rust-lang/rust/issues/113840 cc `@crlf0710` ---- Review wise it's probably best to review each commit individually, as then it's more clear why the refactoring is correct. I can split the last two commits (which change behavior) into a separate PR if it makes reviewing easier
Diffstat (limited to 'tests/ui/recursion/issue-26548-recursion-via-normalize.stderr')
0 files changed, 0 insertions, 0 deletions
