-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add #[track_caller] to Add/Mul(Assign) derives (#378)
Resolves #364 ## Synopsis In debug builds overflows cause panics. With our derives it's hard to spot where these panics happen when RUST_BACKTRACE is not set. ## Solution This fixes that by marking our trait methods for Add/Mul(Assign) as `#[track_caller]. ## Checklist ~- [ ] Documentation is updated (if required)~ ~- [ ] Tests are added/updated (if required)~ - [x] [CHANGELOG entry][l:1] is added (if required) [l:1]: /CHANGELOG.md
- Loading branch information
Showing
5 changed files
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters