# Track caller on \`\<usize as ToOffset\>::to_offset\` \(\#24503\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/0294b19694013a4e6870c91d71ad2ff3eec09bb5)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 0294b19694013a4e6870c91d71ad2ff3eec09bb5

Requested commit: 0294b19694013a4e6870c91d71ad2ff3eec09bb5

Commit: 0294b19694013a4e6870c91d71ad2ff3eec09bb5

Tree: 101d26fbc2e0f53f9fa0c09bfba639b31b4ab134

Author: João Marcos

Committer: GitHub

## Message

```
Track caller on `<usize as ToOffset>::to_offset` (#24503)

To get useful logs when reporting bugs involving offsets out of range

Release Notes:

- N/A
```

## Parents

- [b1055878c7065795eb4aa550afd4de9cc85b8d2b](https://git.cafe/gitcafe/zed/commit/b1055878c7065795eb4aa550afd4de9cc85b8d2b?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/0294b19694013a4e6870c91d71ad2ff3eec09bb5?format=markdown)
