rope: Improve panic message for out of bounds `anchor_at_offset` (#40256)

Release Notes:

- N/A *or* Added/Fixed/Improved ...
85c2dc909dLukas Wirth committed on 10/15/2025, 2:36:58 PM· committed by GitHubparentc814b99
2 files changedLine totals unavailable